Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Tools > Re: loading CLO...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 2676 of 2833
Post > Topic >>

Re: loading CLOB column using function

by Baldwin <ibaldwinjr@[EMAIL PROTECTED] > Dec 3, 2007 at 07:11 AM

On Nov 30, 10:32 pm, DA Morgan <damor...@[EMAIL PROTECTED]
> wrote:
> Baldwin wrote:
> > Hi,
>
> > I am a newbie ofsqlloader. Everything seems to be fine until I hit a
> > block road - theCLOBcolumn type. I want to load data into theclob
> > column using a stored function. I need to do some manipulation on the
> > data before it gets saved to that column. But I got this error when I
> > run thesqlloader.
>
> >SQL*Loader-309: NoSQLstring allowed as part of "DATA" field
> > specification
>
> > DATA is myCLOBtype column.
>
> > Almost all the references are suggesting to use a file to load data on
> >CLOBcolumn but what I want to use a function in which it generates
> > the content to be saved into the column.
>
> > Any help is greatly appreciated.
>
> > Baldwin
> > MISICompany
>
> Without posting the control file no help is possible.
> --
> Daniel A. Morgan
> Oracle Ace Director & Instructor
> University of Wa****ngton
> damor...@[EMAIL PROTECTED]
 (replace x with u to respond)
> Puget Sound Oracle Users Groupwww.psoug.org- Hide quoted text -
>
> - Show quoted text -

here is the control file

LOAD DATA
INFILE 'temp.csv'
REPLACE
INTO TABLE table1
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(
Index		FILLER position(1:2),
param1		BOUNDFILLER,
param2		BOUNDFILLER,
"DATA"		"GetContent(:param1,:param2)"
)

I hope this helps.
 




 5 Posts in Topic:
loading CLOB column using function
Baldwin <ibaldwinjr@[E  2007-11-30 12:28:15 
Re: loading CLOB column using function
DA Morgan <damorgan@[E  2007-11-30 19:32:01 
Re: loading CLOB column using function
Baldwin <ibaldwinjr@[E  2007-12-03 07:11:40 
Re: loading CLOB column using function
DA Morgan <damorgan@[E  2007-12-03 11:02:32 
Re: loading CLOB column using function
Baldwin <ibaldwinjr@[E  2007-12-03 11:18:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 19:07:24 CST 2008.