create or replace procedure update_cust_level_store authid current_user is v_date date;
type t_cursor is ref cursor;
R t_cursor;
begin
open R for select END_DATE from CUST_INFO ; loop
fetch R into v_date;
exit when R%notfound;
end loop;
close R;
end
上面 游标中 END_DATE 是 日期 格式 的但是 v_date 接到的是 类似于 dd-mm -yy 这种格式的
我怎么接能接到日期个格式的
求高人指点
type t_cursor is ref cursor;
R t_cursor;
begin
open R for select END_DATE from CUST_INFO ; loop
fetch R into v_date;
exit when R%notfound;
end loop;
close R;
end
上面 游标中 END_DATE 是 日期 格式 的但是 v_date 接到的是 类似于 dd-mm -yy 这种格式的
我怎么接能接到日期个格式的
求高人指点
v_birthday date; --声明变量 begin
select CUST_INFO.Birthday into v_birthday from CUST_INFO
dbms_output.put_line(v_policy_no);
end Birthday 在数据库里存的数据 是2000-1-7 这个格式的日期 dbms_output.put_line(v_policy_no); 打印出来的数据为 07-1月 -00我如何能 接到 原始的2000-1-7 数据求高人指点