Hi All, I need to validate the SQL Syntax stored in a table without using cursor (SQL Server V7), Can someone throw some light on this please ! Create table testsql (tst_id int, sql_sx varchar(1000))insert testsql values (1, @code = 'CE1')GOinsert testsql values (2, @code = 'CE2')GOinsert testsql values (3, @code = 'CE3' OR @code = 'I45')GOinsert testsql values (4, @code = 'CE4)
In this example the last value is invalid missing quotes.Thanks- Sekar