By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,842 Members | 2,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,842 IT Pros & Developers. It's quick & easy.

executing block of code whenever a condition is satisfied

Soniad
P: 66
Hello,


In my stored procedure, i have block of code which i need to execute whenever it satisfies one condition, i want to call this block of code without need to write again and again. how is it possible in stored procedure.


Regards,

"D"
Feb 1 '09 #1
Share this Question
Share on Google+
1 Reply


ck9663
Expert 2.5K+
P: 2,878
Depending on what you need, you can either use CASE or IF

-- CK
Feb 1 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.