修改存储过程

---修改---
if exists (select * from sysobjects where name = 'up_upt')
drop proc up_upt
go

create proc up_upt
(
@id int ,
@tname varchar(30) ,
@tsex varchar(10) ,
@tage varchar(10) ,
@tzuo varchar(50) ,
@lid int
)
as

update struggling set tname=@tname,tsex=@tsex,@tage=@tage,tzuo=@tzuo,lid=@lid where tid = @id
go

USE [CreditMall]
GO

/****** Object: StoredProcedure [dbo].[proc_Delete] Script Date: 07/27/2018 19:36:17 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

猜你喜欢

转载自www.cnblogs.com/JXSBoKeYuan/p/9382177.html