I am programming in Visual Basic 2010 and a Sybase database, using ADO.
I have received errors from the database "max prepared statements count exceeded".
I discovered how to raise the max count allowed, but my concern is that I am possibly leaving something "out there" that I should be closing or nulling or something.
My question: does a statement like
need to be followed by some sort of closing or nulling statement?
I use a lot of recordsets, but I have checked to make sure that they all get closed as soon as I'm done with them and there are never more than a couple open at once.
I have received errors from the database "max prepared statements count exceeded".
I discovered how to raise the max count allowed, but my concern is that I am possibly leaving something "out there" that I should be closing or nulling or something.
My question: does a statement like
Code:
dbconn.Execute(strSQL)
I use a lot of recordsets, but I have checked to make sure that they all get closed as soon as I'm done with them and there are never more than a couple open at once.