I was thinking that I could use:
SELECT PLAN('statement goes here');
If the result is some text, then I know the syntax of the sql statement is valid.
Is there a better way of doing such validations?
I'm interested solely in validating the syntax correctness of an sql script.
asked 23 Feb '15, 05:24