摘要://建测试表createtabledept(deptnonumber(3)primarykey,dnamevarchar2(10),locvarchar2(13));createtableemployee_info(empnonumber(3),deptnonumber(3),enamevarchar2(10),sexchar(1),phonenumber(11),addressvarchar2(50),introducevarchar2(100));--//0.重命名//0.1表:renamedepttodt;renamedttodept;//0.2列:altertabledeptrenam
阅读全文
摘要:TO_DATE格式(以时间:2007-11-02 13:45:25为例) Year: yy two digits 两位年 显示值:07 yyy three digits 三位年 显示值:007 yyyy four digits 四位年 显示值:2007 Month: mm number 两位月 显示值:11 mon abbreviated 字符集表示 显示值:11月,若是英文版,显示nov month spelled out 字符集表示 显示值:11月,若是英文版,显示november Day: dd number 当月第几天 显示值:02 ddd number 当年第几天 显示值:02 dy
阅读全文
摘要:The following are number examples for theto_charfunction.to_char(1210.73, '9999.9')would return '1210.7'to_char(1210.73, '9,999.99')would return '1,210.73'to_char(1210.73, '$9,999.00')would return '$1,210.73'to_char(21, '000099')would return
阅读全文