2012年11月9日

plsql常用函数汇总

摘要: oracle教程:PLSQL常用方法汇总2010-01-07在SQLPLUS下,实现中-英字符集转换alter session set nls_language='AMERICAN';alter session set nls_language='SIMPLIFIED CHINESE'; 主要知识点:一、有关表的操作建表create table test as select * from dept; --从已知表复制数据和结构create table test as select * from dept where 1=2; --从已知表复制结构但不包括数据2) 阅读全文

posted @ 2012-11-09 17:00 jack_Meng 阅读(10758) 评论(0) 推荐(2) 编辑

PLSQL日期函数及Trunc函数的使用

摘要: 带时分秒 转换成日期类型to_date('20120801 00:00:00','yyyymmdd HH24:Mi:SS') 六种日期函数:1. add_months(日期,number) 指定日期推迟number个月2. last_day(日期) 指定日期当月的最后一天3. new_time(日期 阅读全文

posted @ 2012-11-09 16:41 jack_Meng 阅读(78384) 评论(0) 推荐(0) 编辑

导航