|
Dim res,cmd,sql
Set Res=createobject("adodb.recordset")
Set Cmd=createobject("adodb.command")
Cmd.activeconnection="DRIVER={Oracle in OraHome92};SERVER=CES79;UID=SYSTEM;PWD=SYSTEM;DBQ=CES79;DBA=W;APA=T;EXC=F;XSM=Default;FEN=T;QTO=T;FRC=10;FDL=10;LOB=T;RST=T;GDE=F;FRL=Lo;BAM=IfAllSuccessful;MTS=F;MDI=Me;CSR=F;FWC=F;PFC=10;TLO=O;"
Cmd.CommandType = 1
sql="SELECT T_SYS_USER.USER_ID, T_SYS_USER.USER_NAME, T_SYS_USER.LOGIN_NAME, T_SYS_USER.FLAG_EMP, T_SYS_USER.USER_CRYPTOGRAM, T_SYS_USER.FLAG_LOCK, T_SYS_USER.FLAG_DEFINE, T_SYS_USER.IC_NO, T_SYS_USER.CONN_NUM, T_SYS_USER.FLAG_CHECK, T_SYS_USER.FLAG_ACTIVE, T_SYS_USER.FLAG_SA, T_SYS_USER.SHOW_ORDER, T_SYS_USER.POSITION_X, T_SYS_USER.POSITION_Y, T_SYS_USER.TYPE, T_SYS_USER.OA_USER_ID FROM SDDA_SH.T_SYS_USER T_SYS_USER WHERE T_SYS_USER.USER_ID=1"
Cmd.CommandText = sql
Set res = Cmd.Execute()
Set res = nothing
Set cmd.ActiveConnection = nothing
Set Cmd= nothing
请问以上的代码中,我怎样才能看到,我执行的语句的内容啊
请各位哥哥姐姐给点指导啊,小弟先在这里谢谢了 |
|