SQL Server 有关存储过程
SQL 中的存储过程:1.在建立存储过程之前检查所命名的存储过程是否应经存在。(因为如果同名存储过程已经存在,新的存储过程将不被建立)if exists(select * from sysobject where name='proc name' and type='p')drop proc proc name go2.定义存储过程create proc test@gradel int, --定义变量@gradeh int output --定义输出变量as...go3.执行存储过程declare @l
转载
2010-10-08 10:56:00 ·
282 阅读 ·
0 评论