打赏

星辰大海ゞ

That which does not kill us makes us stronger!

导航

2014年5月19日 #

时间比较方式等

摘要: alter user scott account unlock;时间比较方式:select * from emp where to_char(hiredate,'yyyy-mm-dd'')>'1982-01-01';select * from emp where to_char(hiredate,'... 阅读全文

posted @ 2014-05-19 17:16 星辰大海ゞ 阅读(150) 评论(0) 推荐(0) 编辑

删除表的几种方法比较

摘要: delete from 表名:删除所有记录,表结构还在,写日志,可以恢复的,速度慢drop talbe 表名:删除表的结构和数据truncate talbe 表名删除表中的所有记录,表结构还在,不写日志,无法找回删除的记录,速度快 阅读全文

posted @ 2014-05-19 14:25 星辰大海ゞ 阅读(305) 评论(0) 推荐(0) 编辑