Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
markgraham123
Specialist
Specialist

No Concatenate

Hi all,

I have a doubt to get clarified

Am i on the right track using "No Concatenate".?????

1:

Load A, B from xyz;

No Concatenate

2:

Load A, B from abc;

No Concatenate

3:

Load * Resident 1;

Outer Join

Load * Resident 2;

Drop Tables 1,2;

1 Solution

Accepted Solutions
krishna_2644
Specialist III
Specialist III

1:

Load A, B from xyz;

No Concatenate

2:

Load A, B from abc;

No Concatenate

3:

Load * Resident 1;

Outer Join

Load * Resident 2;

Drop Tables 1,2;

1:

Load A, B from xyz;

2:

No Concatenate

Load A, B from abc;

3:

No Concatenate

Load * Resident 1;

Outer Join

Load * Resident 2;

Drop Tables 1,2;

are same.

its the readability difference.Thats all.

View solution in original post

15 Replies
Not applicable

Try like below:

1:

Load A, B from xyz;

2:

NoConcatenate

Load A, B from abc;

3:

NoConcatenate

Load * Resident 1;

Outer Join(3)

Load * Resident 2;

Drop Tables 1,2;

markgraham123
Specialist
Specialist
Author

Does that make any difference??

Please let me know as i'm a new learner.

Not applicable

I don't think so.

What o/p you are  expecting ?

Not applicable

I write like that way its more readable to others & what i am trying.

krishna_2644
Specialist III
Specialist III

1:

Load A, B from xyz;

No Concatenate

2:

Load A, B from abc;

No Concatenate

3:

Load * Resident 1;

Outer Join

Load * Resident 2;

Drop Tables 1,2;

1:

Load A, B from xyz;

2:

No Concatenate

Load A, B from abc;

3:

No Concatenate

Load * Resident 1;

Outer Join

Load * Resident 2;

Drop Tables 1,2;

are same.

its the readability difference.Thats all.

markgraham123
Specialist
Specialist
Author

Table 1 contains 2014 data and

Table 2 contains 2015 data.

I wanna join both.

In the end, can i please know how can i count total num. of lines in our app.

markgraham123
Specialist
Specialist
Author

Table 1 contains 2014 data and

Table 2 contains 2015 data.

So, i wanna join both to get single qvd of two years.

Am i on right track?

krishna_2644
Specialist III
Specialist III

Do you want to join or concatenate 2015 data t0 2014 data?

if  both tables have same fields then you could easily concatenate.

Not applicable

Simply remove the Concatenate in your script. So two tables auto concatenated and you can select either 2014 or 2015.

Concatenate is equal to UNION operator in SQL