how can we extract data with out having any common column

Answers were Sorted based on User's Feedback



how can we extract data with out having any common column..

Answer / vijay

create a one dummy column in both tables .

like dummy x in t1 table,
dummy x in t2 table.

make a inner join .. then u ll get data from both tables.

Is This Answer Correct ?    13 Yes 2 No

how can we extract data with out having any common column..

Answer / ram

Question not clear. can u check your question.

i think you want to know how to extract data from 2 tables
which doesnt have a common column.

Is This Answer Correct ?    6 Yes 1 No

how can we extract data with out having any common column..

Answer / siri

Hi,

If meta data is same u can achieve this in 2 ways.
1) In job properties -> before job subroutine -> cp file1.txt file2.txt

2) Use Funnel

Meta data is not same then you need key.(With out key it is not possible)

Is This Answer Correct ?    1 Yes 0 No

how can we extract data with out having any common column..

Answer / raj

yes. PLZ give me the ans

Is This Answer Correct ?    0 Yes 0 No

how can we extract data with out having any common column..

Answer / sridhar

Use lookup stage .this scenario u will do through lookup
stage .But whatevr You joining columns datatype must be
same.cOrrect me if i am wrong

Is This Answer Correct ?    1 Yes 1 No

how can we extract data with out having any common column..

Answer / bietl

Hi,

it's just simple as this..

Suppose we have two tables T1 and T2.

Now load the two tables to Seq.files as S1 and S2.

T1............ S1

T2............. S2

Now S1 and S2 are our two seq.files load the two files data
by selecting the S2 seq.file option as append then we will
get the S1 and S2 data as same as T1 and T2.

I hope it will clarify ur question

Is This Answer Correct ?    1 Yes 4 No

how can we extract data with out having any common column..

Answer / nagakalyan

by using transformer we can but the joining two tables at
least have same datatype and data

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Data Stage Interview Questions

Can you explain kafka connector?

0 Answers  


What is oci?

0 Answers  


Is possible to create skid in dim,fact tables?

0 Answers   NTT Data,


1.what is stagearea?what is stage variable? 2.this is my source source:id, name target:id, name 100, murty 100,madan we have three duplicate records for the id column,how can we getthe source record? 100,madan 100,saran

1 Answers   HCL,


DataStage Scenario based Interview Questions

1 Answers  






hi i am bhavani, in real time data stage who is the source provide? and how to recevied in developer? Pls send me answer

1 Answers   Polaris,


Instead of using shared container in a job, I use jobs which perform similar function as Container in the sequence. Then what is the need of Shared Container?

1 Answers   TCS,


SOURCE LIKE I_D,F1,F2 --------- 100,N,Y 100,N,N 100,Y,N 101,Y,Y 101,N,Y 102,Y,N 103,N,N 104,Y,Y 105,N,N 106,N,Y 102,N,Y 105,Y,Y O/P LIKE ID flag1 flag2 101 Y Y 101 N Y 102 Y N 102 N Y 104 Y Y 106 N Y

4 Answers  


Is the value of staging variable stored temporarily or permanently?

0 Answers  


How to Remove Duplicate using SQL?

0 Answers   CTS,


how to implement scd2 in datastage 7.5 with lookup stage

0 Answers   TCS,


Input file one has data as shown below 1 2 3 4 5 6 7 8 Input file two has data like 6 7 8 9 10 11 Design a data stage job which will provide me three output files as shown below: Output 1 6 7 8 Output 2 1 2 3 4 5 Output 3 9 10 11 Let me know your answers

4 Answers   IBM, PR3 Systems,


Categories