摘要: --显示 create proc up_show@tableName varchar(8000), --表名、视图名@indexCol varchar(50) = 'id', --标识列名(如:比如主键、标识,推荐使用索引列)@pageSize int = 10, --页面大小@pageIndex 阅读全文
posted @ 2018-07-29 20:55 真是善良 阅读(124) 评论(0) 推荐(0) 编辑
摘要: if exists (select * from sysobjects where name = 'UP_ADD')drop proc UP_ADDgo create proc UP_ADD( @tname varchar(30) , @tsex varchar(10) , @tage varcha 阅读全文
posted @ 2018-07-29 20:09 真是善良 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 修改 if exists (select * from sysobjects where name = 'up_upt')drop proc up_uptgo create proc up_upt( @id int , @tname varchar(30) , @tsex varchar(10) , 阅读全文
posted @ 2018-07-28 15:36 真是善良 阅读(512) 评论(0) 推荐(0) 编辑
摘要: --信息列表分页if exists (select * from sysobjects where name = 'up_fen')drop proc up_fengo create proc up_fen@tableName varchar(8000), --表名、视图名@indexCol var 阅读全文
posted @ 2018-07-28 15:35 真是善良 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 删除 create proc up_del@TableName varchar(50),@Id varchar(5000)asbegin declare @strSql varchar(5000) declare @sql varchar(4000) set @sql='select col=''' 阅读全文
posted @ 2018-07-28 15:35 真是善良 阅读(310) 评论(0) 推荐(0) 编辑