External happens to be a SQL keyword as well
Reserved Keywords (Transact-SQL)
and when it is a column name it will need to be escaped. try wrapping [ ] around the word External and it should work fine.
Status<>1 AND [External]<>1
External happens to be a SQL keyword as well
Reserved Keywords (Transact-SQL)
and when it is a column name it will need to be escaped. try wrapping [ ] around the word External and it should work fine.
Status<>1 AND [External]<>1