Click here to Skip to main content
15,914,071 members
Home / Discussions / Database
   

Database

 
AnswerRe: Listbox Pin
Kschuler18-Sep-07 9:16
Kschuler18-Sep-07 9:16 
QuestionMSVS 2005 and Vista Pin
Jon Stroh18-Sep-07 8:42
Jon Stroh18-Sep-07 8:42 
GeneralPHP WORK (PAID WELL) [modified] Pin
miggy200518-Sep-07 8:01
miggy200518-Sep-07 8:01 
GeneralRe: PHP WORK (PAID WELL) Pin
Dave Kreskowiak18-Sep-07 8:23
mveDave Kreskowiak18-Sep-07 8:23 
GeneralRe: PHP WORK (PAID WELL) Pin
Pete O'Hanlon18-Sep-07 10:58
mvePete O'Hanlon18-Sep-07 10:58 
Questionusing MS Access queries from a .NET application Pin
pete007_ke18-Sep-07 4:59
pete007_ke18-Sep-07 4:59 
AnswerRe: using MS Access queries from a .NET application Pin
Justin Perez18-Sep-07 5:07
Justin Perez18-Sep-07 5:07 
QuestionHow to set a stored procedure's time-out period Pin
MatthysDT18-Sep-07 4:20
MatthysDT18-Sep-07 4:20 
I call a certain stored procedure in a loop (all within another SP), for every loop the procedure is executed to another server, some of the servers are very far away and connected on slow VPN lines, the procedures could execute for as long as 4minutes.

How do I set the time-out period to be longer? Since I suspect it's a time-out which causes the procedure to fail to these servers.

I'm implementing something like this:
CREATE PROCEDURE procDistributeData
AS

	DECLARE
	@main varchar(50),
	@child varchar(50),
	
	DECLARE rst CURSOR LOCAL FOR
	SELECT MainServerInstance, ChildServerInstance FROM tblServers
	
	OPEN rst
	FETCH NEXT FROM rst INTO @main, @child
	WHILE @@fetch_status = 0
	BEGIN
	
		EXEC procDistributeToServer @main,@child,@error out
	        Print @error
	
	        FETCH NEXT FROM rst INTO @main, @child
	END

	CLOSE rst
	DEALLOCATE rst 





_______________________________________________________________________
http://www.notreadytogiveup.com/Doubts.aspx[^]
"you can't forget something you never knew..." M. Du Toit



AnswerRe: How to set a stored procedure's time-out period Pin
Pete O'Hanlon18-Sep-07 4:56
mvePete O'Hanlon18-Sep-07 4:56 
GeneralRe: How to set a stored procedure's time-out period Pin
MatthysDT18-Sep-07 5:06
MatthysDT18-Sep-07 5:06 
GeneralRe: How to set a stored procedure's time-out period Pin
Pete O'Hanlon18-Sep-07 5:13
mvePete O'Hanlon18-Sep-07 5:13 
GeneralRe: How to set a stored procedure's time-out period Pin
MatthysDT18-Sep-07 5:22
MatthysDT18-Sep-07 5:22 
QuestionTool similar to SQL Builder Pin
arnoldpinto8418-Sep-07 3:24
arnoldpinto8418-Sep-07 3:24 
AnswerRe: Tool similar to SQL Builder Pin
MatthysDT18-Sep-07 5:58
MatthysDT18-Sep-07 5:58 
Questionhow to get Table name and Fields name Pin
Sachin Pimpale18-Sep-07 0:04
Sachin Pimpale18-Sep-07 0:04 
AnswerRe: how to get Table name and Fields name Pin
Colin Angus Mackay18-Sep-07 0:26
Colin Angus Mackay18-Sep-07 0:26 
GeneralRe: how to get Table name and Fields name Pin
Sachin Pimpale18-Sep-07 2:06
Sachin Pimpale18-Sep-07 2:06 
GeneralRe: how to get Table name and Fields name Pin
Colin Angus Mackay18-Sep-07 2:38
Colin Angus Mackay18-Sep-07 2:38 
GeneralRe: how to get Table name and Fields name Pin
Sachin Pimpale20-Sep-07 0:12
Sachin Pimpale20-Sep-07 0:12 
GeneralRe: how to get Table name and Fields name Pin
Colin Angus Mackay20-Sep-07 7:09
Colin Angus Mackay20-Sep-07 7:09 
QuestionConnecting to SQL express Pin
twsted f817-Sep-07 22:28
twsted f817-Sep-07 22:28 
AnswerRe: Connecting to SQL express Pin
Colin Angus Mackay18-Sep-07 0:30
Colin Angus Mackay18-Sep-07 0:30 
AnswerRe: Connecting to SQL express Pin
Frank Kerrigan18-Sep-07 2:40
Frank Kerrigan18-Sep-07 2:40 
QuestionPage Total and Grand Total SSRS Pin
arnoldpinto8417-Sep-07 21:41
arnoldpinto8417-Sep-07 21:41 
AnswerRe: Page Total and Grand Total SSRS Pin
pmarfleet18-Sep-07 3:11
pmarfleet18-Sep-07 3:11 

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.