Sql Query [message #444042] |
Thu, 18 February 2010 08:01 |
ravi214u
Messages: 153 Registered: February 2008 Location: CANADA
|
Senior Member |
|
|
Hi,
i have two columns in a flat file (col1 and col2) and i need to populate the New two columns(newcol1 and newcol2) from col1 and col2 during load process. below is the logic of population of new columns e.g
col1 col2 newcol1 newcol2
1 10 2 12
2 11 3 13
3 12 4 14
4 13 5
5 14
thanks
|
|
|
|
|
Re: Sql Query [message #444051 is a reply to message #444042] |
Thu, 18 February 2010 08:53 |
ravi214u
Messages: 153 Registered: February 2008 Location: CANADA
|
Senior Member |
|
|
Thanks michel,
But the value given by me are in order to understand but actually it will vary. it will not be in sequence.
|
|
|
|
Re: Sql Query [message #444053 is a reply to message #444051] |
Thu, 18 February 2010 08:57 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
So by now we know:
- There are 2 columns in a flat file.
- The logic will vary.
Hmmmmmmm......
Take two aspirin and call us in the morning?
|
|
|
Re: Sql Query [message #444054 is a reply to message #444051] |
Thu, 18 February 2010 08:57 |
|
Michel Cadot
Messages: 68722 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
ravi214u wrote on Thu, 18 February 2010 15:53Thanks michel,
But the value given by me are in order to understand but actually it will vary. it will not be in sequence.
But you didn't say what are the requirements.
Regards
Michel
|
|
|