The SQL works in in server manager, however the response.write comes up blank in the asp page sqlstr="SELECT column, Approvers = substring( ( SELECT ', ' + Approver " &_ "FROM table e2 "&_ "WHERE e2.column = e1.column FOR XML path(''), elements),2,500) "&_ "FROM table e1"&_ "WHERE column= " isRequired='Y'" Response.Write "[TD] Approvers [/TD] "should come bake with names seperated by ,