sql - query returning no column name when name is specified
The following query is returning no column name when then name 'iOutDistributionid' is specified
select *,@iDistributionid as 'iOutDistributionid' from #tmpDistribution
select *,@iDistributionid as [iOutDistributionid] from #tmpDistribution
the data ie @iDistributionid is in each row ok
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.