摘要:
一.SQL Sever数据库存储过程含义:一组预先编译好的SQL语句的集合,理解成批处理语句1、优点是:提高代码的重用性简化操作减少了编译次数并且减少了和数据库服务器的连接次数,提高了效率2、语法: create procedure 存储过程名称(参数列表) begin 存储过程体(SQL语句) e 阅读全文
posted @ 2021-11-22 21:49
安徒生-玺
阅读(34)
评论(0)
推荐(0)
摘要:
use test2go--创建存储过程del_class 参数:@idcreate proc del_class @id intas begin tran declare @error int=0 delete from student where cid=@id set @error+=@@ERR 阅读全文
posted @ 2021-11-22 21:45
安徒生-玺
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号