Home » RDBMS Server » Server Utilities » control file options
control file options [message #153041] Wed, 28 December 2005 10:26 Go to next message
sikyala
Messages: 33
Registered: May 2005
Member
Here is my control file

LOAD DATA
INFILE 'c:\DACS\dacs_bad.txt'
APPEND
INTO TABLE bib_holdings_interface
FIELDS TERMINATED BY "|"
TRAILING NULLCOLS

(IAC_REPORT_ID char(20),
CATEGORY char (70),
AD_ID char (4000),
PUBLICATION_DATE char (255),
TITLE char (2000),
ABSTRACT char(4000),
ABSTRACT2 char(4000),
SUBJECTKEYWORDS char (4000),
AUTHOR char (4000),
EXTRA_TEXT_FIELD1 char (4000),
PUBLISHER char (255),
ORG_PERFORMING char (4000),
CONTRACT_GRANT_ID char (255),
SUPPLEMENTARY_NOTES char (4000),
COMMENTS char (255),
EXTRA_TEXT_FIELD2 char (255),
EXTRA_TEXT_FIELD3 char (255),
SITE char "DACS"))


I am trying to assign a value to the last field: SITE char "DACS"
I don't even know if that is an option. Could someone tell me if that is an option and if so what the syntax is for assigning a value during a load? (Note: all other fields have values in the data file)
Re: control file options [message #153042 is a reply to message #153041] Wed, 28 December 2005 10:56 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
use CONSTANT.
And search before posting.
http://www.orafaq.com/forum/?SQ=8f1f8cfbb8f846f0ce20880c43e47a8c&t=search&srch=sqlldr+constant&btn_submit=Search&fiel d=all&forum_limiter=10&search_logic=AND&sort_order=DESC&author=Mahesh+Rajendran
Previous Topic: sqlloader : Multi Lingual data load
Next Topic: error while exporting
Goto Forum:
  


Current Time: Tue Jul 02 05:48:07 CDT 2024