复制代码 代码如下:
create proc baidu_car
as
select * from car
go
exec baidu_car
复制代码 代码如下:
Create proc insert_car
@param1 char(10),@param2 varchar(20),@param3 money
with encryption ---------加密
as
insert car(编号,车名,价格) Values(@param1,@param2,@param3)
go
执行例子:
exec insert_car '008','兰博基里',100000
go
新闻热点
疑难解答