请教!存储过程中,输出参数类型不同时出错,请看一看
出现错误:
Warning: Sybase: Server message: Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed. Use the CONVERT function to run this query. (severity 16, procedure UP_SUNNY_CHKPID) in D:\tax_web\bak\test.php on line 12
我的程序:
$pro_sun 是一个过程
数据库but_count类型是ini,title类型char
$CADRE_NO='AAA';
$test="exec pro_sun $CADRE_NO,$title OUTPUT,but_count OUTPUT,
$result=sybase_query("$test");