MSSQL: Why does CommandTimeout=0 NOT mean infinity?
Posted: Wed 02 Mar 2011 16:52
I have a couple of stored procedures the users can kick off at different times. These procedures are very process intensive and can easily take over 30 minutes to run.
I am using TUniStoredProc with CommandTimeout=0 in the SpecificOptions property. Yet, around 30 minutes, the component throws a
"Lock time out period exceeded." The procedures run fine in a database tool. They take a while, but never fail.
The database is SQL Server 2005. Is there another option I should be looking at to make sure this action never times out?
I am using TUniStoredProc with CommandTimeout=0 in the SpecificOptions property. Yet, around 30 minutes, the component throws a
"Lock time out period exceeded." The procedures run fine in a database tool. They take a while, but never fail.
The database is SQL Server 2005. Is there another option I should be looking at to make sure this action never times out?