在VC++中用ADO调用ORACLE中的FUNCTION(函数),或包中的函数,不是存储过程.该怎么处理
在VC++中用ADO调用ORACLE中的FUNCTION(函数),或包中的函数,不是存储过程.
已经N天都没有解决这个问题了,大家集思广益下!
------解决方案--------------------
CString strSQL(_T( " "));
char *p_limit_name= "COIL_DM_INNER ";
int maxmin=0;
strSQL.Format(_T( "select test_w(%d, '%s ') from dual "), maxmin, p_limit_name);
m_conn-> Execute(...);
我的异常网推荐解决方案:oracle存储过程,http://www..net/oracle-develop/177537.html
已经N天都没有解决这个问题了,大家集思广益下!
------解决方案--------------------
CString strSQL(_T( " "));
char *p_limit_name= "COIL_DM_INNER ";
int maxmin=0;
strSQL.Format(_T( "select test_w(%d, '%s ') from dual "), maxmin, p_limit_name);
m_conn-> Execute(...);
我的异常网推荐解决方案:oracle存储过程,http://www..net/oracle-develop/177537.html