日期:2014-05-18 浏览次数:20393 次
create PROCEDURE User_info_ADD @userno varchar(10), @username varchar(50), @userpwd varchar(6), @Empname varchar(50), @userrole varchar(50), @usersts varchar(10), @startdate datetime, @enddate datetie, @regioncode nchar(10), @deptno nchar(10) AS INSERT INTO [gy_User_info]( [userno],[username],[userpwd],[Empname],[userrole],[usersts],[startdate],[regioncode],[deptno],[enddate] )VALUES(@userno,@username,@userpwd,@Empname,@userrole,@usersts,@startdate,@regioncode,@deptno,@enddate )
------解决方案--------------------
create PROCEDURE User_info_ADD @userno varchar(10), @username varchar(50), @userpwd varchar(6), @Empname varchar(50), @userrole varchar(50), @usersts varchar(10), @startdate datetime, @enddate datetime, @regioncode nchar(10), @deptno nchar(10) AS INSERT INTO [gy_User_info]( [userno],[username],[userpwd],[Empname],[userrole],[usersts],[startdate],[regioncode],[deptno],[enddate] )VALUES(@userno,@username,@userpwd,@Empname,@userrole,@usersts,@startdate,@regioncode,@deptno,@enddate )
------解决方案--------------------
exec user_info_ADD '1','2','3','4','5','6','2012-07-12','2012-07-12','9','10'