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.

 All Forums
 Development Tools
 ASP.NET
 Return SQL message/variable to web page?

Author  Topic 

besadmin
Posting Yak Master

116 Posts

Posted - 2009-02-22 : 00:23:07
Hey Friends!

if you do an IF statement that returns a variable like 'success' or 'failure' it returns it in the SQL Message pane - the same place it says '10 row(s) affected' - is it possible to do anything with the info returned there? my goal is return it to a web page. On the Web You click a button that execute a stored proc, i want to return Success or failure after it runs.

Any help is greatly appreciated.

Thanks a ton!!

S

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-02-22 : 01:36:52
duplicate

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=120308
Go to Top of Page
   

- Advertisement -