Hi,
Suppose I have a stored procedure which has a temp table
So in the report there are corresponding fields "DeptNum","DeptName" and "NetAmt".Code:create table #TmpRptData( DeptNum varchar(50) null, DeptName varchar(50) null, NetAmt money null }
However if in the stored procedure
Finally I use alias like
The report displays nothing.Code:select DeptNum as DepartmentNumber, DeptName as DepartmentName, sum(NetAmt) as NetItemSalesAmount from #TmpRptData
Why?
What should I do?
Thanks for help.
Thanks


Reply With Quote