摘要:
SQL> set serveroutput on SQL> declare 2 cursor c_date is 3 select hire_date from employees; 4 v_date date; 5 v_day varchar2(20); 6 begin 7 open c_date 阅读全文
摘要:
在变量赋值的方法中,select into只能为返回单行数据的变量进行赋值 SQL> set serveroutput on SQL> declare 2 v_date date; 3 begin 4 select hire_date into v_date from employees where 阅读全文
摘要:
查看要修改的数据 SQL> select * from t1; DATE1 IDENTIFY 22-JAN-21 372928193501213223 通过update修改date1对应的日期 SQL> update t1 set date1=(select to_date(substr(ident 阅读全文