July 14, 2009 at 5:29 am
In sql server 2000 we use (;) for terminating the queries. Is it possible to replace (;) with (!) or we can restrict user not to use (;).Also i dont want touse 'GO'
can we make any kind of setting in sql server
July 14, 2009 at 6:40 am
In SQL 2000 the ; is not required, it's optional. Rumour has it that it may be required in a future version of SQL. It's a T-SQL language construct, so you can't change it any more than you can chance SELECT to RETRIEVE
; and GO do different things. ; is a statement terminator, GO is a batch terminator. Also GO is not a T-SQL command, but is used by the query tool to designate the end of a batch of statements to be sent to the server.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply