G
Guest
I don't understand why adCmdText is used here by the previous code author.
Why use adCmdText cursor if there is not a stored procedure?
' // OPEN THE DATABASE
mySQL = "SELECT * FROM PROFILE ORDER BY AGENCY_PROFILE_ID"
Set con = Server.CreateObject("ADODB.Connection")
con.Open "SBDX","",""
' // GET ACES DATA
Set rst = Server.CreateObject("ADODB.Recordset")
rst.Open mySQL, con, adOpenStatic, adLockReadOnly, adCmdText
Why use adCmdText cursor if there is not a stored procedure?
' // OPEN THE DATABASE
mySQL = "SELECT * FROM PROFILE ORDER BY AGENCY_PROFILE_ID"
Set con = Server.CreateObject("ADODB.Connection")
con.Open "SBDX","",""
' // GET ACES DATA
Set rst = Server.CreateObject("ADODB.Recordset")
rst.Open mySQL, con, adOpenStatic, adLockReadOnly, adCmdText