USE [database] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- P_AutoInspect_LogToFilePath 'F:\1111\', 'database','sa','psw' -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- D…
首先我在mysql的test数据库里定义了一个student表: create table student4( id int primary key, sanme char(5) ); 插入几个数据做测试用: inset into student values(1,'mayi'); inset into student values(2,'mayi'); inset into student values(3,'mayi'); 建立存储过程: in 型: delimiter // cre…