Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
subhaoviya
Posting Yak Master
135 Posts |
Posted - 2009-08-31 : 06:36:42
|
| the deadlock error occur while am executing my procedure.it includes the action update one table and then insertion of record from this table into another table.when i try the begin transaction and end transaction the updation happen but the inertion not happend . this error only occur while trying to update more than a records at same time how to overcome this thanks friendssubha |
|
|
senthil_nagore
Master Smack Fu Yak Hacker
1007 Posts |
Posted - 2009-08-31 : 07:06:35
|
| Will u post your Script?Senthil.C------------------------------------------------------[Microsoft][ODBC SQL Server Driver]Operation canceledhttp://senthilnagore.blogspot.com/ |
 |
|
|
subhaoviya
Posting Yak Master
135 Posts |
Posted - 2009-08-31 : 07:35:02
|
| k create procedure myprocasupdate production set startpage=@stratpage, endpage=@endpage where productionid=@productionidinsert into Production_temp (Productionid, Startpage, Endpage) select Productionid, Startpage, Endpage, from Production |
 |
|
|
bklr
Master Smack Fu Yak Hacker
1693 Posts |
Posted - 2009-08-31 : 09:02:01
|
quote: Originally posted by subhaoviya k create procedure myprocasupdate production set startpage=@stratpage, endpage=@endpage where productionid=@productionidinsert into Production_temp (Productionid, Startpage, Endpage) select Productionid, Startpage, Endpage, from Production
|
 |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-08-31 : 09:12:17
|
quote: Originally posted by subhaoviya k create procedure myprocasupdate production set startpage=@stratpage, endpage=@endpage where productionid=@productionidinsert into Production_temp (Productionid, Startpage, Endpage) select Productionid, Startpage, Endpage, from Production
Where is your BEGIN TRANSACTION and what is the meaning of END TRANSACTION. I know only COMMIT and/or ROLLBACK. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|
|
|