Hi All,
I am using crystal reports with my sql.I have 2 command objects and i need to apply full outer join between those two But as we no crystal reports links tab won't support for full outer join.So i gave full outer join in data base level by using left outer join union right outer between those 2 command objects.
It is working fine.but i have many common columns in both the queries .Take an example there is one column called Till Number.There is a case that if command1.tillnumber is null then i need to display command2.tillnumber but now we are applying full outer join,so it is giving all the data.So how can i get query 1 data if it is not null.
Please suggest
I am using crystal reports with my sql.I have 2 command objects and i need to apply full outer join between those two But as we no crystal reports links tab won't support for full outer join.So i gave full outer join in data base level by using left outer join union right outer between those 2 command objects.
It is working fine.but i have many common columns in both the queries .Take an example there is one column called Till Number.There is a case that if command1.tillnumber is null then i need to display command2.tillnumber but now we are applying full outer join,so it is giving all the data.So how can i get query 1 data if it is not null.
Please suggest