create procedure
----1st Step---------------Create a Table---------------- CREATE TABLE UserRegistration ( C_Id int IDENTITY(1, 1) NOT NULL, C_Name varchar(100) NULL, C_Age varchar(100) NULL, C_Country varchar(100) NULL ); ----2nd Step---------------Create a Stored Procedure---------------- CREATE procedure [dbo].[SpMyProcedure] ( @C_Id int = null, @C_Name varchar(100)= null, @C_Age varchar(100)= null, @C_Country varchar(100)= null, @Is_Active bit = 1, @Action varchar(100)= null --@flag bit output-- return 0 for fail,1 for success ) As begin if @Action='Select' select * from UserRegistration if @Action = 'Insert' Insert into UserRegistration values (@C_Name, @C_Age, @C_Country,@Is_Active) if @Action = 'Update' Update UserRegistration set C_Name = @C_Name, C_Age = @C_Age, C_Country = @C_Country where C_Id = @C_Id if @Action = 'Delete' --Delete from UserRegistration where C_Id = @C_Id UPDA...