Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Doubt in loading data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
sushanth bobby

Active User


Joined: 29 Jul 2008
Posts: 263
Location: INDIA

PostPosted: Mon Oct 20, 2008 6:54 pm    Post subject: Doubt in loading data
Reply with quote

Hi,
I have a doubt in loading tables. This is how it goes.

Table1 = Parent table
Columns= ID,c1,c2,c3
Primary key = ID

Table2 = Child table
Columns=ID,tab1,c4,c5,c6
Primary Key = ID
foreign key =tab1 referencing table1


Doubts,
While loading the table2, there are few records which are not in the table1.
a)What will happen(will table go into pending states)
b)Is there a possibility of loading table2 with orphan records(no parent)


Sushanth
Back to top
View user's profile Send private message
References
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1