cancel
Showing results for 
Search instead for 
Did you mean: 

Validate sql statements

3,031

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.

Accepted Solutions (0)

Answers (0)