This is the code I have. I am using TSQL Database
It only returns the column names. What am doing wrong?
If it is just returning the column headers, then that means it's an empty data set.
Break the query down to see where it is going wrong.
Does the sub-query
If it does, is it returning valid values for
Once we have answers for those, then we can talk about making this a