View previous topic :: View next topic
|
Author |
Message |
chennai
New User
Joined: 12 Jun 2008 Posts: 26 Location: chennai
|
|
|
|
Hi,
I have a table with 4 which recently updated the table with 5 columns..now I need to test the table...I unloaded the table data(which contains only 4 columns information) from production..if I try to load the data in development table(which is modified with 5 columns) with that file will the job be successful...?
Asked me in interview question...
Thanks
ajay |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The idea of interview questions is that you answer them and the forum members help you if you have problems.
Please give us your answer. |
|
Back to top |
|
|
bhairon singh rathore
New User
Joined: 19 Jun 2008 Posts: 91 Location: banglore
|
|
|
|
A whole lot of things depends for you to answer this question
1) Is new column in DEV is nullabe field
2) How is your insert query used ..
Please specify all this condition |
|
Back to top |
|
|
chennai
New User
Joined: 12 Jun 2008 Posts: 26 Location: chennai
|
|
|
|
we run the loading of the table using JCL...I dont get u why u r talking abt Insert command...I have a file with 4 colums...and I am tring to load to a table of 5 columns...assume that 5th column is not null..then if I try to load what would happen... |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Chennai,
Is 5th column is defined as nOt null with default value?If yes it will contain default value for all the existing rows. |
|
Back to top |
|
|
chennai
New User
Joined: 12 Jun 2008 Posts: 26 Location: chennai
|
|
|
|
oh ...ok thanks ...you mean there will not be any abend if I execute the job...hope my understanding is correct |
|
Back to top |
|
|
|