Home » RDBMS Server » Server Utilities » Urgent help in SQL* Loader please
Urgent help in SQL* Loader please [message #131921] Wed, 10 August 2005 01:43 Go to next message
misha603
Messages: 20
Registered: July 2005
Location: India
Junior Member

Hi,
I have 2 Database LVFD and HIS

I have a table called RHISBLO in HIS DB. I have created a synonym fOR that in LVFD using DB link.
I am able to select and do all DML operations on RHISBLO from LVFD.
When I try to upload data in RHISBLO of HIS DB using SQL Loader from LVFD DB I get the following error
----------------------------------------------------------------
SQL*Loader: Release 8.1.6.3.0 - Production on Wed Aug 10 08:39:17 2005

(c) Copyright 1999 Oracle Corporation. All rights reserved.

SQL*Loader-925: Error while ulmtsyn: OCIStmtExecute(tabhp)
ORA-01405: fetched column value is NULL
----------------------------------------------------------------
My command prompt command is
----------------------------------------------------------------
sqlldr userid=his1/his1 control=step2/rhisblo.ctl log=rhisblo.log
----------------------------------------------------------------
My control file is
----------------------------------------------------------------
LOAD DATA
INFILE '/tmp/rhisblo.dat'
APPEND INTO TABLE RHISBLO
FIELDS TERMINATED BY '~'
TRAILING NULLCOLS
(
NUVEH INTEGER EXTERNAL
, COCAUBLO CHAR
, DDORDBLO DATE "DD-MON-YYYY HH24:MI:SS" NULLIF (DDORDB
LO=BLANKS)
, DFORDBLO DATE "DD-MON-YYYY HH24:MI:SS" NULLIF (DFORDB
LO=BLANKS)
, COTEXBLO CHAR NULLIF (COTEXBLO=BLANKS)
, COTEXDBL CHAR NULLIF (COTEXDBL=BLANKS)
, COSIT CHAR NULLIF (COSIT=BLANKS)
, DCHISBLO DATE "DD-MON-YYYY HH24:MI:SS" NULLIF (DCHISB
LO=BLANKS)
, CODOOBLO CHAR
)
----------------------------------------------------------------

Please help me

Thanks in advance
Re: Urgent help in SQL* Loader please [message #132057 is a reply to message #131921] Wed, 10 August 2005 11:16 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Expected Behaviour.
Use a view instead of a synonym.
Re: Urgent help in SQL* Loader please [message #132129 is a reply to message #132057] Wed, 10 August 2005 22:56 Go to previous message
misha603
Messages: 20
Registered: July 2005
Location: India
Junior Member

Hi,

Thanks a lot.

Regards
Santharaj
Previous Topic: external tables against tab delimeted file
Next Topic: Using SQL*Loader and UTL_FILE to load and unload large files(i.e. PDF)
Goto Forum:
  


Current Time: Wed Dec 25 20:06:28 CST 2024