-
I am loading a table using sqlloader and the the primary key of the table that is being loaded is a sequence. If I don't specify that column in my control file when I do a fixed format field load, will the column generate it's sequence number or do I have to specify something in my control file?
-
Yes, you must specify the SEQUENCE keyword in the control file. (See http://technet.oracle.com/docs/produ.../ch04.htm#3100 )
-
I've been looking through some case studies about sequences
Even if I'm am appending rows to the table and the sequence parameters are alredy set in the table? Could you show me an example? I don't seem to have access to that site that you gave me?
-
LOAD DATA
INFILE *
APPEND
INTO TABLE emp
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
(empno, ename, job, mgr,
hiredate DATE(20) "DD-Month-YYYY",
sal, comm, deptno CHAR TERMINATED BY ':',
projno,
loadseq SEQUENCE(MAX,1))