Create proc stp_Test ( @nOperID int ) as BEGIN IF (@nOperID = 1) BEGIN // Insert Statement END ELSE IF (@nOperID = 2) BEGIN // Update Statement END ELSE BEGIN // Delete Statement END END
Thanks, T.Saravanan
Thanks RameSH sinGH
Best Regards, VG www.TeacherJi.com
IF condition Begin -- Your Code End Else Begin - Your Code End
Thanks Karthik www.f5Debug.net
Login to post response