Click to See Complete Forum and Search --> : Stored Procedures With SQL Server 6.5


May 20th, 1999, 11:38 PM
If I have a stored procedure that doesn't return any records, will the calling program be blocked until the procedure completes ? Please help me find an answer to this question.

May 21st, 1999, 01:28 AM
Yes.

Select * from SomeTable where 1=2

does not return any record sets either. It is not the database operation that blocks your process, it is the API call which send the SQL query to the DB.