You are not logged in.
Pages: 1
SELECT adc.*,c.CustomerName FROM dbo.XYZ adc INNER JOIN PQR c ON c.CustomerNumber = adc.CustomerNumber
when i execute this query it displays all columns from XYZ table and CustomerName from PQR table
But when i execute report to select column, it display's all columns from PQR table but none column from XYZ table
So Kindly help me to Fetch columns from PQR as well as XYZ table
Offline
Hi kirti,
normally this should work without problems.
Do you see the problem already in the preview of your dataset?
Do you have set filters in your dataset?
Are the data types of the column "Customernumber" in both tables the same?
If you generate the report as HTML Output, are there error messages at the end of the report?
Regards
thbritz
Offline
Hi thbritz,
There was no problem in previewing the data.
And now it is working fine i made mistake in query.
Thanks for your help
Offline
Hi kirti,
I guess the correct query for seeing all columns would be:
SELECT adc.*, c.* FROM dbo.XYZ adc INNER JOIN PQR c ON c.CustomerNumber = adc.CustomerNumber
correct?
Greets,
Eduardo
Offline
Hi Eduardo,
You're correct Eduardo Thanks
Offline
Pages: 1