Results 1 to 1 of 1
Nov 18, 2008, 15:29 #1
- Join Date
- Mar 2005
- Madison, WI
- 0 Post(s)
- 0 Thread(s)
SQL Server - Validate Query w/o Executing
I'm using Microsoft SQL Server 2005, and I'm wondering if there's any way I can validate (parse) a given query without actually executing it using a SQL Command.
PLEASE NOTE: I already know that this can be done in SQL Server Management Studio by just pressing the "Parse" button, but I am not looking to do this in Management Studio. I am looking for a way to do this using only T-SQL commands.
Specifically, is there some kind of syntax like PARSE('...') or something like that? Something that would tell me if the query is valid, but not actually run the query. Thanks.// useless crap about my relationships, philosophy,
// theology, music and programming projects:
my $blog = 'http://gordon-myers.com/';