1) My hosting company allows us to see a list of sleeping transaction. I am wondering what is the sp or the command allowing to do this ?2) How is it possible that this causes a sleeping transaction when I am just me on the db:set conMD = Server.CreateObject("ADODB.Connection")conMD.ConnectionTimeout = 15conMD.CommandTimeout = 30conMD.CursorLocation =1conMD.Open Application("conMD_ConnectionString")sSQL= "SELECT Cd_Numero, Cd_Texto"sSQL= sSQL & " FROM tblCodigos"sSQL = sSQL & " WHERE Cd_Tipo=10"sSQL = sSQL & " AND Cd_Lenguage=5"Set rst = Server.CreateObject("ADODB.Recordset")rst.open sSQL,conMD,adOpenForwardOnly,adLockReadOnly,adCmdText do until rst.eof if cint(rst("Cd_Numero")) = 1 then Cd_Texto=rst("Cd_Texto") else Cd_Texto2=rst("Cd_Texto") end if rst.MoveNextlooprst.Closeset rst=nothing conMD.closeset conMD=nothing
jean-lucwww.corobori.com