Hi,
I believe this si the approved method for getting data out of a db in sql server ie. open connection, open obj, close obj, close connection
openDataConnection()
set rsID = CreateObject("ADODB.recordset")
rsID.Open " SELECT * from t_example, strConn
set newObj = rsID
rsID.close
set rsID = nothing
closeDataConnection()
By setting rsID = nothing i believe i am freeing up webserver resources correctly.
However, what happens to newObj, do i need to set that to nothing somewhere. If is is left open will the dataconnection have closed properly ?
Thanks,
Tim