Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
|
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 12th, 2004, 03:32 PM
Registered User
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to amol_mudholkar
Default Sql loader failing to load into multiple tables

Hello ,
I am having below control file , trying to load into dept and emp table but sqlldr is loading into dept table only not in emp.

can u please advise if any thing is wrong in the control file
===========================
Load
infile *
Replace
into table dept
when deptno !=''
(deptno position(1:2) char,
dname position(4:6) char,
loc position(8:10) char
)
into table emp
when empno !=''
(empno position(12:13) char,
ename position(15:19) char
)

BEGINDATA

10 FIN NAG 40 Ashok
20 PAY BOM 50 Amol
30 HUM DEL 60 Anil
=====================

Thanks & Regds


Amol





Similar Threads
Thread Thread Starter Forum Replies Last Post
using multiple conditions in sql loader elygp Oracle 0 October 9th, 2008 10:21 PM
Importing Multiple files in Multiple tables Versi Suomi Access 6 June 1st, 2005 08:47 AM
load tables into database kobystud C# 4 July 20th, 2004 12:31 PM
sql & join tables & find a field in multiple table trangd Beginning PHP 2 January 29th, 2004 07:18 PM
SQL Server failing on certain rows of data benibell SQL Server 2000 1 December 10th, 2003 11:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.