Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: embedded newlines & sqlldr
In article <7locvc$h44$1_at_nnrp03.primenet.com>,
"Rob Calfee" <trace_at_primenet.com> wrote:
> Can you supply a sample of the data (flat file) and the sql loader
script
> you are using?
Certainly -- here it is.
This is the ctl script.
user_id, letter_id, letter_title NULLIF letter_title = "NULL", mail_date DATE 'YYYY-MM-DD HH24:MI:SS' NULLIF mail_date = "NULL", num_copies, mail_flags NULLIF mail_flags = "NULL")
Here is some sample data. In this example, the sqlldr perceives the newline after www.foo.com in the third record as the logical end of the third record. It then perceives the next row (which is still part of the third record) as the beginning of the next record. I've set the error limit at 40, so after trying to reconcile 40 more rows, the loader quits.
1|2|Testing number one|1999-01-31 09:03:43|1|0| 2|2|Testing 9:35am|1999-01-31 09:33:41|1|0| 3|2|This http://www.foo.com
Any suggestions are appreciated!
Thanks a lot.
Catherine
tornabenenetscapenet put the @ and . where it seems to fit. :-)
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Sun Jul 04 1999 - 19:03:57 CDT
![]() |
![]() |