4,011
社区成员
发帖
与我相关
我的任务
分享
wchar_t sql3[1024]=_T("INSERT INTO OPER_LOG values('登录','0001','Login','");
_tcscat(sql3,userName);
_tcscat(sql3,_T("',current_timestamp,null,null,'Y','"));
_tcscat(sql3,reportMessage);
_tcscat(sql3,_T("'"));
retcode = SQLExecDirect(pHstmt,sql3 ,SQL_NTS);