Click here to Skip to main content
15,891,629 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Is it possible to show message in store procedure like C#. If possible please explain with example. Advance thanks for your kind response.
Posted
Comments
Sumon562 9-Sep-13 6:14am    
I expect an answer.
[no name] 9-Sep-13 6:24am    
If you expect an answer then you should provide the information need to give you an answer. Use the Print command. If you mean some thing like a messagebox from you server then no. You need to explain what it is that you trying to do.
Harshil_Raval 9-Sep-13 6:16am    
in stored procedure you can use print command to print your message. e.g. print('test')
Sumon562 9-Sep-13 6:22am    
Actually I use the store procedure in C# code and in the else portion of the store procedure will show a message. How can I do that
Mubin M. Shaikh 9-Sep-13 8:37am    
Hi ,

You can use output to send value from your stored procedure to your C# code, and there you can use message box, or if you are working in SSMS then you can go for Print command at appropriate place to print value in SSMS environment.

Need some more detail what exactly you want to do.
Regards
Mubin Shaikh

 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900