HomeActive Query BuilderCustom Parse on SQL

Custom Parse on SQL

I have a connection to SQL Server however, the QueryBuilder.SQL is getting passed from a source. The source provider of SQL script appends a particular string (e.g. @Date@) that is being used for something else.

My problem is that it is causing SQL parsing error on when set to QueryBuilder.SQL property.

How can I get around that without having error on QueryBuilder? Is creating a custom syntax provider or custom parser (if there is) a solution?

Darwin | email
April 23 2012, 02:04 AM
Active Query Builder parser does not support custom macros. Only standard parameters notation is available ("@param", ":param" and "?"). Building custom syntax provider is not possible.
Sergey Smagin | email
3 hours, 57 mins since original post
This topic is closed