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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql command

Author  Topic 

j0shua
Starting Member

40 Posts

Posted - 2009-02-06 : 03:22:15
i am having a problem in the timeout of my sql command, how can i set the CommandTimeout property of your DbCommand in my sql statement?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-02-06 : 03:29:50
{variablename here}.CommandTimeOut = 300 ''(5 minutes)


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

j0shua
Starting Member

40 Posts

Posted - 2009-02-06 : 03:50:36
lots of thanks!!
Go to Top of Page
   

- Advertisement -