时间格式问题? 主要通过函数to_char(sysdate,'YYYYMMDD')或者to_date('20030201','YYYYMMDD')select to_char(sysdate,'yyyymmdd') from dual;20030728 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to_data('2003-7-28','yyyy-MM-dd')比较好吧 create function is_date(p_date in varchar2)return numberasv_date date;beginv_date:=to_date(p_date,'yyyy-mm-dd');return 1;exceptionwhen others thenreturn 0;end;/select * from tab1 where is_date(col_name)=1; 请问是新建数据库还是新建用户方案 请教weblogic+oracle的问题(急急急) 连接池无法进行sql trace? oracle中有没有sql中类似的checknum函数啊? 请教一个select语句 哪位大哥哥做过“复制服务器”的? 请问在哪张表中可以查到表空间的使用情况? 帮帮忙把这个MSSQLSERVER的存储过程改成ORACLE的 求救!!!急!!! 6月份以后的数据为空,求大神 如何生成数据库(oracle)所有对象的sql脚本(用户,表空间,表) SQL存储过程移植到ORACLE,各位SQL、ORACLE高手帮帮忙呀
return number
as
v_date date;
begin
v_date:=to_date(p_date,'yyyy-mm-dd');
return 1;
exception
when others then
return 0;
end;
/
select * from tab1 where is_date(col_name)=1;