摘要:
游标类型:隐式游标,显示游标游标有一些属性,例如SQL%ROWCOUNT返回被更新的数据行数例子SET SERVEROUTPUT ONBEGIN UPDATE emp SET COMM='100' WHERE empno='7369' FROM emp; DBMS_OUTPUT.PUT_LINE('影响的行数为:'||SQL%ROWCOUNT);END;DECLARE cursor c_emp is select * from emp; vr_emp c_emp%rowtype; v_count number := 0;BEGIN OPEN c_ 阅读全文
摘要:
安装plsqldev后的环境变量配置NLS_LANGAMERICAN_AMERICA.UTF8或SIMPLIFIED CHINESE_CHINA.ZHS16GBK查看当前字符集select * from nls_database_parameters where parameter='NLS_CHARACTERSET'; 阅读全文