all groups > sql server programming > october 2005 >
You're in the

sql server programming

group:

advice


advice ari
10/14/2005 11:05:02 PM
sql server programming:
hey all,

does sql batch files allow you to have transactions? i'm trying to update 3
tables in a sql batch file and was wondering if this was a good idea or
should i just use stored procedure?

thanks,
Re: advice David Gugick
10/15/2005 12:00:00 AM
[quoted text, click to view]

Sure you can use transactions. Just add BEGIN TRAN / COMMIT TRAN /
ROLLBACK to the batch where needed.

--
David Gugick
Quest Software
www.imceda.com
www.quest.com
Re: advice ari
10/15/2005 7:37:10 AM
this helped, thank you.

[quoted text, click to view]
AddThis Social Bookmark Button