正确写法是:
vch_Sql:='select sysdate from dual';
EXECUTE IMMEDIATE vch_Sql into v_s;
而不是:
vch_Sql:='select sysdate into :1 from dual';
EXECUTE IMMEDIATE vch_Sql USING v_s;
[@more@]195133729来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25261409/viewspace-1044930/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25261409/viewspace-1044930/