In SQL Server, how can I separate a large number of tsql statement into batches?
Posted
by Yousui
on Stack Overflow
See other posts from Stack Overflow
or by Yousui
Published on 2010-05-27T06:35:29Z
Indexed on
2010/05/27
6:41 UTC
Read the original article
Hit count: 157
Hi guys,
In SQL Server, how can I separate a large number of tsql statement into batches? Should I use the GO statement in stored procedures or functions? Should I use the GO statement in explicit transaction management situation(between BEGIN TRANSACTION and ROLLBACK TRANSACTION or COMMIT TRANSACTION)? Are there some best practice about this topic? Great thanks in advance.
© Stack Overflow or respective owner