Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
chiragvm
Yak Posting Veteran
65 Posts |
Posted - 2012-12-13 : 04:53:23
|
i have a Stored Procedure , in proc Print certain result likePrint '-- Start Transection--'Print 'Transection No = ' + @TransectionId ......Print 'Transection Success'Print '-- End Transection--' is it possible to Save printed result in a file while call it from UI. after that we have to mail that file to user also ask for download that file-------------Chirag India Sr. Web Engineer |
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
Posted - 2012-12-13 : 05:01:49
|
Yes.You can bcp the result out.Use sqlcmd to run it and output to a fileUse it as a source in ssisUse reporting services...==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |
|
|
bandi
Master Smack Fu Yak Hacker
2242 Posts |
|
bandi
Master Smack Fu Yak Hacker
2242 Posts |
|
|
|
|