class IndexController extends Controller {
public function index(){
$a = M('');
$res = $a->execute("CALL MAPS_PRO_MST_ITEM_QUERY('FARINE', 'ShangHai', '101', '10001');");
}
}错误 : SQLSTATE[HY000]: General error: 933 OCIStmtExecute: ORA-00933: SQL command not properly ended (ext\pdo_oci\oci_statement.c:148)
错误位置
FILE: C:\wamp\www\Core\Library\Think\Db\Driver\Oracle.class.php LINE: 79
TRACE
#0 C:\wamp\www\Core\Library\Think\Db\Driver\Oracle.class.php(79): PDOStatement->execute()
#1 C:\wamp\www\Core\Library\Think\Model.class.php(1414): Think\Db\Driver\Oracle->execute('CALL MAPS_PRO_M...')
#2 C:\wamp\www\App\Home\Controller\IndexController.class.php(7): Think\Model->execute('CALL MAPS_PRO_M...')
#3 [internal function]: Home\Controller\IndexController->index()
#4 C:\wamp\www\Core\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#5 C:\wamp\www\Core\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Home\Controller\IndexController), 'index')
#6 C:\wamp\www\Core\Library\Think\App.class.php(204): Think\App::exec()
#7 C:\wamp\www\Core\Library\Think\Think.class.php(120): Think\App::run()
#8 C:\wamp\www\Core\ThinkPHP.php(97): Think\Think::start()
#9 C:\wamp\www\index.php(24): require('C:\\wamp\\www\\Cor...')
#10 {main} 最佳答案