cancel
Showing results for 
Search instead for 
Did you mean: 

Add join without any column from that table

Former Member
0 Kudos

Hi All,

i have a query requirement like i dont want anything in select from that table but i need to alias the table and join to the original table and this need to be included in report query.

can anyone suggest how to do this,as this is a immediate change.

thanks in advance.

thanks,

sravya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

in IDT, you need to create a Where clause where you will add your alias table.

Anytime these objects are selected in the query panel the alias table will be added in the join but no column from that table in the Select statement.

Another way is to add the Alias table in the Associate dTables for each object that can be used in the query panel.

Didier

Answers (1)

Answers (1)

jyothirmayee_s
Active Contributor
0 Kudos

Hi Sravya,

What type of Table is it and where is it coming from?.

Copy that view and rename as an alias and start joining on common column.

Thanks,

Jothi

Former Member
0 Kudos

Hi Jyothi,

if i dont select anything from that alias table will that join includes in query?

jyothirmayee_s
Active Contributor
0 Kudos

Yes Sravya,

If your query doesn't have alias table included with in the statement then no data is rendered from the table.

But any specific reason that you want an alias table and doesn't want data?. any scenario?.

Thanks,

Jothi

Former Member
0 Kudos

Jyothi,

i think this works, if we pull an column form alias table into querypanel and final not adding it to the report will solve i guess

jyothirmayee_s
Active Contributor
0 Kudos

well, it depends.

Merging dimensions would help you to get equi join records, if not then it would be Cartesian product.

Thanks,

Jothi