
oracle
mengboxingx
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
oracle 查询获得当前时间
oracle 查询获得当前时间: select to_char(sysdate, 'MM-DD-YYYY HH24:MI:SS') "now" from dual; 执行下面语句后就改变了时间显示格式,此时用select就会按自己设定的格式显示。 alter session set nls_date_format = 'yyyy-mm-dd hh24:mi:ss'; ...原创 2011-11-10 16:52:07 · 1011 阅读 · 0 评论 -
oracle自增长触发器
建树自动增添列: create sequence emp_sequence increment by 1----每次增添几个 minvalue 1----最小值为1 nomaxvalue----不限制最年夜值 start with 1----年夜1起头 cache 10----缓存 order; 建树触发器: create or replac...2012-03-27 11:58:26 · 105 阅读 · 0 评论