G
Guest
I have a query that consults a simple table each 30 seconds, based on a
status field, through a storedproc. Almost all time the records in the table
remains the same. After a long time, about 24 hours, the query starts
returning no results, ie, when I query, the system return myreader.hasrows =
false, and even I insert another records it returns no results anymore. Then,
when I restart the application it starts returning all records again. Its not
a SQL Server problem, because when I use Query Analyser to run the stored
proc it returns all records.
Someone understands what is going on?
status field, through a storedproc. Almost all time the records in the table
remains the same. After a long time, about 24 hours, the query starts
returning no results, ie, when I query, the system return myreader.hasrows =
false, and even I insert another records it returns no results anymore. Then,
when I restart the application it starts returning all records again. Its not
a SQL Server problem, because when I use Query Analyser to run the stored
proc it returns all records.
Someone understands what is going on?