Click here to Skip to main content
15,915,783 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL 2005 Pin
Frank Kerrigan30-Nov-07 0:12
Frank Kerrigan30-Nov-07 0:12 
Questionset command error Pin
veereshIndia29-Nov-07 22:03
veereshIndia29-Nov-07 22:03 
AnswerRe: set command error Pin
Marek Grzenkowicz29-Nov-07 22:22
Marek Grzenkowicz29-Nov-07 22:22 
GeneralRe: set command error Pin
veereshIndia29-Nov-07 22:27
veereshIndia29-Nov-07 22:27 
GeneralRe: set command error Pin
veereshIndia29-Nov-07 22:39
veereshIndia29-Nov-07 22:39 
GeneralRe: set command error Pin
riyam hussain mm30-Nov-07 0:42
riyam hussain mm30-Nov-07 0:42 
AnswerRe: set command error Pin
Joe29-Nov-07 22:30
Joe29-Nov-07 22:30 
QuestionBulk Update Fails Pin
Joe29-Nov-07 21:58
Joe29-Nov-07 21:58 
I am trying to run a bulk update on a table by picking up the IDs that I've populated onto a table variable based on some criteria.
The update just works fine if the number of records in the table variable are < = 1000.
When this number increases to 5000, the update does'nt work. When I try to debug my code, I get the message box stating "Error while executing 'A Batch Cmd' at line 0; Sql Error: 0 "The statement has been terminated."

On catching this execption I get the message "Timeout expired.The Timeout period elasped prior to completion of the operation of the operation or the server is not responding.\r\n The statement has been terminated."

When I try to run the stored proc from the query analyzer, it keeps processing for a long time and that I've to manually stop the execution.

On trying to run the queries that I have in the stored proc individually did'nt yield me positive results either.

I've ensured that my stored proc meets the specifications listed here[^]

Can anyone throw some light on what can be tried to fix this?

Environment: VS 2005 Pro, Sql Server 2000
AnswerRe: Bulk Update Fails Pin
andyharman29-Nov-07 22:36
professionalandyharman29-Nov-07 22:36 
GeneralRe: Bulk Update Fails Pin
Joe29-Nov-07 23:46
Joe29-Nov-07 23:46 
GeneralRe: Bulk Update Fails Pin
andyharman30-Nov-07 2:06
professionalandyharman30-Nov-07 2:06 
AnswerRe: Bulk Update Fails Pin
Mike Dimmick30-Nov-07 0:58
Mike Dimmick30-Nov-07 0:58 
GeneralRe: Bulk Update Fails Pin
Joe30-Nov-07 1:23
Joe30-Nov-07 1:23 
QuestionA recursive dilema??? Pin
AndyBrew7029-Nov-07 21:06
AndyBrew7029-Nov-07 21:06 
AnswerRe: A recursive dilema??? Pin
pmarfleet29-Nov-07 21:17
pmarfleet29-Nov-07 21:17 
AnswerRe: A recursive dilema??? Pin
AndyBrew7029-Nov-07 23:55
AndyBrew7029-Nov-07 23:55 
Questionsql,query very urgent Pin
rameshdontagani29-Nov-07 19:14
rameshdontagani29-Nov-07 19:14 
AnswerRe: sql,query very urgent Pin
Joe29-Nov-07 19:41
Joe29-Nov-07 19:41 
GeneralRe: sql,query very urgent Pin
rameshdontagani29-Nov-07 19:44
rameshdontagani29-Nov-07 19:44 
GeneralRe: sql,query very urgent Pin
Vasudevan Deepak Kumar29-Nov-07 19:54
Vasudevan Deepak Kumar29-Nov-07 19:54 
AnswerRe: sql,query very urgent Pin
Vasudevan Deepak Kumar29-Nov-07 19:55
Vasudevan Deepak Kumar29-Nov-07 19:55 
QuestionMySQL quick question Pin
sonywar29-Nov-07 14:32
sonywar29-Nov-07 14:32 
QuestionRe: MySQL quick question Pin
TJoe30-Nov-07 2:34
TJoe30-Nov-07 2:34 
AnswerRe: MySQL quick question Pin
andyharman30-Nov-07 2:49
professionalandyharman30-Nov-07 2:49 
Question&quot;Logon Failed. Please Try Again.&quot; [modified] Pin
Reveille29-Nov-07 11:30
Reveille29-Nov-07 11:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.