Page 1 of 1

multiple records

Posted: Fri Jun 09, 2006 11:52 am
by adams06
Hi All,

I am concatenating three fields say x,y,z
if length of x,y,z is greater than say 10 bytes, then create multiple records with 10 bytes in each record.

can some one let me how to solve this.


Thanks in advance.

Posted: Fri Jun 09, 2006 12:31 pm
by DSguru2B
Well there are several ways. Try using the search facility as well. Try thispost as well.
Also, you need to provide more info, is the conditional operand suppose to be and, or ,either or with the lengths of x,y,z.
To split a row into mulitple rows has been discussed here a lot. Like say for eg: in your recent post

length

Posted: Fri Jun 09, 2006 1:44 pm
by adams06
Hi DSguru,

The conditional operator is and here.

Thanks
DSguru2B wrote:Well there are several ways. Try using the search facility as well. Try thispost as well.
Also, you need to provide more info, is the conditional operand suppose to be and, or ,either or with the lengths of x,y,z.
To split a row into mulitple rows has been discussed here a lot. Like say for eg: in your recent post

Posted: Fri Jun 09, 2006 10:17 pm
by DSguru2B
As advised earlier, go through the posts i have referenced. If still your not able to do it then give the number of columns coming in from your input file and how it should be transformed, with sample data (before and after) to help us advise a solution without much exchange of posts in understanding the requirement.
Regards,