create database test
GO
use [test]
GO
create table t
(
A varchar(10),
B int,
C decimal,
PRIMARY KEY CLUSTERED
(
A ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
create proc t_Add
@A varchar(10),
@B int,
@C decimal
AS
insert into t values(@A,@B,@C)
GO
create proc t_Update
@A varchar(10),
@B int,
@C decimal
AS
update t set B=@B,C=@C where A=@A
GO
create proc t_Del
@A varchar(10)
AS
delete t where A=@A
GO