Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Hi am sundar, i have datas like
00023-1010
00086-1010
00184F2-1010
.
.
.
.
SCH-AS-1010
200-0196-039
.
.
.
Now i want the result "SCH-AS" in onee column and "1010" in
another column.. Can any one tell the answer...

Answers were Sorted based on User's Feedback



Hi am sundar, i have datas like 00023-1010 00086-1010 00184F2-1010 . . . . SCH-AS-1010 200-..

Answer / swamy

Use field function in transformer stage. This function
performs based on delimeter... so, you can use that field
function. like field(delimeter, occurance) - field means
(input column) delimeter ("-") occurance(2) ...

Is This Answer Correct ?    10 Yes 0 No

Hi am sundar, i have datas like 00023-1010 00086-1010 00184F2-1010 . . . . SCH-AS-1010 200-..

Answer / madan

use substr in transformer and divide it in to 2 fields as
required

Is This Answer Correct ?    1 Yes 0 No

Hi am sundar, i have datas like 00023-1010 00086-1010 00184F2-1010 . . . . SCH-AS-1010 200-..

Answer / ashutosh g

use Row splitter as tranform stage and specified the column
name.

Is This Answer Correct ?    0 Yes 0 No

Hi am sundar, i have datas like 00023-1010 00086-1010 00184F2-1010 . . . . SCH-AS-1010 200-..

Answer / balu

We are using LEFT and RIGHT TRIM function in transform stage.

Is This Answer Correct ?    0 Yes 0 No

Hi am sundar, i have datas like 00023-1010 00086-1010 00184F2-1010 . . . . SCH-AS-1010 200-..

Answer / palgun

Simple.....use da delimiter as --

SCH-AS--1010

Does dat solve ur prob??

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Data Stage Interview Questions

what is mapping lookup

1 Answers  


How do you design PX Routines ?

1 Answers  


How To find the location of APT_confid file

2 Answers   CTS,


how to define satge variables in transformer stage

2 Answers  


I have a source table with column name CITY having 100 records, I want target table with column name start with 'A' and 'B',remaining columns as reject outputs. how can achieve this by data stage?please help me?????

5 Answers  


How can you join flat file, oracle as a sources?

4 Answers   IBM,


Explain usage analysis in datastage?

0 Answers  


What is the difference between orabulk and bcp stages?

0 Answers  


Is there any possibility to generate alphanumeric surrogate key?

3 Answers   ABC, IBM,


Describe the architecture of datastage?

0 Answers  


ename like ibm,tcs,hcl need display those records only how?

2 Answers  


source file having the data like aabbccc, i want target file result like a1a2b1b2c1c2c3.

2 Answers  


Categories