If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > SQL Loder Issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-25-11, 10:02
srinannapa srinannapa is offline
Registered User
 
Join Date: Jul 2011
Posts: 2
Arrow SQL Loder Issue

Hi , Facinng some problem with the delimiter with sql loaders.
I've a row like below in CSV.

"Value1","val"ue2","value3","value4"

I'm using
FIELDS TERMINATED BY ',' optionally enclosed by '"'

But the above syntax is not working. Can some on help on this pls.
Reply With Quote
  #2 (permalink)  
Old 07-25-11, 10:07
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,415
>But the above syntax is not working.

my car is not working.
please tell me how to make my car go.

I don't know what you have.
I don't know what you do.
I don't know what you see.
It is really, Really, REALLY difficult to fix a problem that can not be seen.
use COPY & PASTE so we can see what you do & how Oracle responds.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #3 (permalink)  
Old 07-25-11, 10:13
srinannapa srinannapa is offline
Registered User
 
Join Date: Jul 2011
Posts: 2
It's the syntax of the SQL LOader

If you know SQL Loader systax you could have understood what I'm asking for MR.Car
Reply With Quote
  #4 (permalink)  
Old 07-25-11, 10:23
beilstwh beilstwh is offline
Lead Application Develope
 
Join Date: Jun 2004
Location: Liverpool, NY USA
Posts: 2,222
for it to work, the data must be like the following

"Value1","val""ue2","value3","value4" (double quotes in a string),
however if I was building the export I would use a pipe to separate the fields

Value1|val"ue2|value3|value4

FIELDS TERMINATED BY '|' optionally enclosed by '"'

That character is almost never used in data.
__________________
Bill
You do not need a parachute to skydive. You only need a parachute to skydive twice.
Reply With Quote
  #5 (permalink)  
Old 07-25-11, 10:33
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Quote:
Originally Posted by srinannapa View Post
But the above syntax is not working.
"Not working" is not a valid SQL*Loader error message....
Reply With Quote
Reply

Tags
loader, oracle, querry

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On