1. 首页
  2. 数据库
  3. MySQL
  4. 存储过程、触发器的例子.doc

存储过程、触发器的例子.doc

上传者: 2020-08-06 02:16:06上传 DOC文件 650KB 热度 14次
存储过程: 1.CREATE PROCEDURE loving AS BEGIN SELECT * from student where ssex='女' END: 执行 Exec loving 2. CREATE PROCEDURE loving1 as BEGIN SELECT * from student end 3. CREATE PROCEDURE pr1_sc_ins @Param1 char(10),@Param2 char(2),@Param3 real AS BEGIN insert into sc(sno,cno,grade) values(@Para
用户评论