enable per database antlr grammers
Brought to you by:
jparrai
for sybase (and presumably sqlserver) the uses and used by nodes rely on the antlr grammer for the procedure node. The trouble is the default ansi SQL grammer doesn't recognise transact-SQL so for example it doesn't pick up that procedure A executes procedure B. I can't see any easy way of plugging in a Transact SQL grammar ro take care of this. Would it be possible for the databaase adaptor to provide a getGrammar method alongside its getLexer method and for this to be used throughout to figure out the grammar to use