我的ASP代码中有存储过程,我希望看到完整的命令文本(不仅仅是(?)?,?,?,?) 它将执行,所以我不必打开SQL Profiler。
sSQL="myProc"
Set dbCommand = Server.CreateObject("ADODB.Command")
Set dbCommand.ActiveConnection = oConn
dbCommand.CommandType = adCmdStoredProc
dbCommand.Commandtext=sSQL
dbCommand.Parameters.Append (dbCommand.CreateParameter("@tutorID", adInteger, adParamInput, 0, sTutorID))
set oRST=dbCommand.Execute