dragonturtle
Programmer
Hi,
is there a difference between the following?
>> Set rs = Server.CreateObject("ADODB.Recordset"
>> rs.Open sql, Conn
versus
>> Set rs = Conn.Execute(sql)
I've always create recordsets the first way, but I came across the second way recently, and it does the same thing in one line instead of two.
is there a difference between the following?
>> Set rs = Server.CreateObject("ADODB.Recordset"
>> rs.Open sql, Conn
versus
>> Set rs = Conn.Execute(sql)
I've always create recordsets the first way, but I came across the second way recently, and it does the same thing in one line instead of two.