in datastage interview qustion

source target
------- -------
12345 1
2
3
4
5

Answer Posted / lajpat kurdiya

SELECT SUBSTR(12345,LEVEL,1) AS Source
FROM DUAL
CONNECT BY LEVEL <= LENGTH(12345);


SELECT SUBSTR('12345',LEVEL,1) AS Source
FROM DUAL
CONNECT BY LEVEL <= LENGTH('12345');

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the enhancements made in datastage 7.5 compare with 7.0?

704


What is orabulk stage?

619


What are the stages in datastage?

630


How to read multiple files using a single datastage job if files have the same metadata?

728


What are the various kinds of containers available in datastage?

556






What are the main differences you have observed between 7.x and 8.x version of datastage?

614


What are the primary usages of datastage tool?

616


what is the use of skid in reporting?

1947


How many Key we can define in remove duplicate stage?

812


How complex jobs are implemented in datstage to improve performance?

585


Differentiate between operational datastage (ods) and data warehouse?

666


How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.

2982


Name the different types of Lookups in Datastage?

718


How can you write parallel routines in datastage PX?

609


What are stage variables and constants?

694