- CREATE PROCEDURE spTest
- @flag INT
- AS
- BEGIN
- IF @flag = 1
- -- Insert
- IF @flag = 2
- -- Update
- IF @flag = 3
- -- Delete
- END
execute flag in sql
execute pro_name then??
help me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mohsin ArifPosted Apr 23, 2019, 6:35 AM
Amit KumarPosted Apr 23, 2019, 6:33 AM