oracle日期格式和时区
113. Evaluate the SQL statements:CREATE TABLE new_order(orderno NUMBER(4),booking_date TIMESTAMP WITH LOCAL TIME ZONE);The database is located in San Francisco where the time zone is -8:00.The user is...
递归查询解析
DEPTID PAREDEPTID NAMENUMBER NUMBER CHAR (40 Byte)部门id 父部门id(所属部门id) 部门名称通过子节点向根节点追朔.Sql代码 select * from dept start with deptid=76 connect by prior paredeptid=deptid通过根节...
insert基础用法及进阶
转载一波春光 yangbosos@126.com的一、Insert基础用法语法: Insert Into 表名 (字段1,字段2,字段3...) Values (值1,值2,值3...)例子:INSERT INTO departments(department_id, departm...
load.ctl
LOAD DATA INSERT--option(insert ,append,truncate) INTO TABLE sqlloadertemp --WHEN STATUS="1" FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS&n...
excel去掉换行符
在工作表标签处单击鼠标右键,点“查看代码”,在代码窗口中输入如下内容:Sub 去掉所有换行符() Cells.Replace What:=Chr(10), _ Replacement:="", _ LookAt:=xlPart, _ ...
表字段约束和正则表达式
今天在看OCP题库的时候有一道题是考字段约束的,意思是要在表CUSTOMERS的字段CUST_FIRST_NAME建个约束,使这个字段不能输入数字。View the Exhibit and examine the description of the CUSTOMERS table.You want to...