Page 1 of 1

Syntax highlighting issue with SQL Server Script

Posted: Thu Feb 20, 2003 2:55 pm
by Gordon
The following words are recognised as keywords and highlighted as such:
SP_EXECUTE
declare
varchar
The following however are not highlighted, yet appear as keywords in the syntax defn file (SQL2000).
@@CONNECTIONS
@@FETCH_STATUS
@@CURSOR_ROWS
@@TRANCOUNT

Does anyone have a workaround?

Re: Syntax highlighting issue with SQL Server Script

Posted: Thu Feb 20, 2003 5:54 pm
by Dave
Define @ as an operator and don't prepend the @@ to the keywords in the .syn file.