Re: SET BEGIN TRANSACTION
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Thu, 10 May 2007 09:08:16 -0400
Rogers,
Very interesting. I didn't remember that SET BEGIN TRANSACTION was once a
legal syntax. Here are a couple of options:
1 - Have your database run in 8.0 (SQL 2000) mode and the old syntax will be
accepted.
2 - Script out all of your stored procedures to a file. Globally change all
SET BEGIN TRAN, SET COMMIT TRAN, SET ROLLBACK TRAN to BEGIN TRAN, COMMIT
TRAN, ROLLBACK TRAN. Then run the script to reapply the changes in your
database.
I personally would choose option 2 over undermining the upgrade to 2005. To
get a script in 2005, right click on the database, ignore Script Database
and choose Tasks / Generate Scripts ..., then follow the prompts.
RLF
"Rogers" <naissani@xxxxxxxxxxx> wrote in message
news:uoormCkkHHA.4676@xxxxxxxxxxxxxxxxxxxxxxx
I have migrate SQL Server 2000 database into SQL Server 2005 and in all the
stored procedures I am using SET BEGIN TRANSACTION but SQL Server 2005
support BEGIN TRANSACTION, is there any way i can resolve this issues, I
have 150 stored procedures where I am using SET BEGIN TRANSACTION
Thanks..
.
- Follow-Ups:
- Re: SET BEGIN TRANSACTION
- From: Andrew J. Kelly
- Re: SET BEGIN TRANSACTION
- References:
- SET BEGIN TRANSACTION
- From: Rogers
- SET BEGIN TRANSACTION
- Prev by Date: SET BEGIN TRANSACTION
- Next by Date: Re: SQL Server 2000 & SQL Server 2005
- Previous by thread: SET BEGIN TRANSACTION
- Next by thread: Re: SET BEGIN TRANSACTION
- Index(es):
Relevant Pages
|