Using GO in SQL Server 2005 -
i working on sql server 2005 , have come accros issue have run multiple update query on single table 1 one. takes lots of time execute 1 one came know using "go" can run query 1 one. this
update table ....
go
update table a
go
update table a
i not sure can put seperate update statement , run query 1 one. doing on production need sure should work.
can give me example can see using go, query runs 1 one , not parallel?
from go (transact-sql)
go not transact-sql statement; command recognized sqlcmd , osql utilities , sql server management studio code editor.
sql server utilities interpret go signal should send current batch of transact-sql statements instance of sql server. current batch of statements composed of statements entered since last go, or since start of ad hoc session or script if first go.
Comments
Post a Comment