Hi,
I'm currently building a utility stored proc that is
to output the results of a SQL statement or a stored
procedure to a file.
The problem I have is parsing the SQL statement. In Oracle
I'd just call the DBMS_SQL.Parse function. Is there something similiar is SQL Server 2000 or will I have to
use SET PARSEONLY in the stored proc and see if I get
an error message or not.
Thanks in Advance
LokiDBA
I'm currently building a utility stored proc that is
to output the results of a SQL statement or a stored
procedure to a file.
The problem I have is parsing the SQL statement. In Oracle
I'd just call the DBMS_SQL.Parse function. Is there something similiar is SQL Server 2000 or will I have to
use SET PARSEONLY in the stored proc and see if I get
an error message or not.
Thanks in Advance
LokiDBA