ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
TSQL grammar not parsed select query when it is inside the single quotes
it is a dynamic sql where quotes can be seperated as well
It is considered as string text
select @v_sql =
'set forceplan on
select .....
set forceplan off
'
TSQL grammar not parsed select query when it is inside the single quotes it is a dynamic sql where quotes can be seperated as well It is considered as string text select @v_sql = 'set forceplan on select ..... set forceplan off '