set mycon = Server.CreateObject("ADODB.Connection"
mycon.Open "mydb", "", ""
set results = mycon.Execute(sql)
.... process recordset results ...
mycon.close
--------------
is that the proper way to close out the page (I'm using ASP)
i've seen people follow the mycon.close with a
set mycon = nothing
is this necessary? also should something be done to the recordset (results in this case) to free it up?
I want to make sure i'm not leaving any residue behind.
thanks [sig][/sig]
mycon.Open "mydb", "", ""
set results = mycon.Execute(sql)
.... process recordset results ...
mycon.close
--------------
is that the proper way to close out the page (I'm using ASP)
i've seen people follow the mycon.close with a
set mycon = nothing
is this necessary? also should something be done to the recordset (results in this case) to free it up?
I want to make sure i'm not leaving any residue behind.
thanks [sig][/sig]