October 14, 2008 at 8:37 am
Hi
i have a stored procedure and it returns two fields as email and requestIDs
i take emails as recipients and send requestIDs to our users
Now i want to improve my stored procedure to send requests as a table or report with more than one field. But i dont know how to improve it? Could anyone help on this
here is my stored procedure's query section:
set @rec = (select email + ';' from (select distinct email from ST$Users K
left join ST$Requests I on K.id=I.Istek_Sorumlusu
left join ST$RequestLines IST on I.istekid=IST.IstekNo
where istek_durumu 1)t for xml path(''))
after i do the query how could it be possible to send mail as a table or report. (Like a gridview for example maybe giving colors? is that possible?)
October 14, 2008 at 9:58 am
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply