随笔分类 -  SQLServer数据库

SQLServer数据库
摘要:数据库截取一定长度的字符串:/**//*******************************************作者:小朱功能:获取一定长度的字符串日期:2004年11月01日*******************************************/CREATEFUNCTION[dbo].[uf_GetString](@strVarChar(2000)='',--要截取的... 阅读全文
posted @ 2006-07-05 09:50 迪克猪 阅读(1896) 评论(1) 推荐(0) 编辑
摘要:在数据库的查询过程中,遇到以下问题:当select * from tKeyword where typeId= case when @typeId < 0 then null else @typeId endorder by orderNo desc这句话是正确的,但是当@typeId < 0不出结果,而数据库中有满足条件typeId=null的数据。后来进行了以下处理:if @typ... 阅读全文
posted @ 2006-07-05 09:38 迪克猪 阅读(866) 评论(0) 推荐(0) 编辑
摘要:/**//*******************************************************************************************存储过程名称:Common_GetWeek存储过程功能:操作说明:设计时间:2005年08月14日22:00代码设计者:小朱(zsy619@163.com)**************************... 阅读全文
posted @ 2006-01-05 09:17 迪克猪 阅读(364) 评论(0) 推荐(0) 编辑
摘要:/**//*******************************************************************************************过程名称:Common_ColumnType_Pagination过程功能:代码设计:小朱(zsy619@163.com)设计时间:2005-11-313:58:26*********************... 阅读全文
posted @ 2006-01-05 09:14 迪克猪 阅读(550) 评论(0) 推荐(0) 编辑
摘要:/**//*******************************************************************************************过程名称:Common_Type_Pagination过程功能:代码设计:小朱(zsy619@163.com)设计时间:2005-11-313:58:26***************************... 阅读全文
posted @ 2006-01-05 09:13 迪克猪 阅读(338) 评论(0) 推荐(0) 编辑
摘要:/**//******************************************************************************************* 过程名称:Common_Percent_Pagination 过程功能: 代码设计:小朱(zsy619@163.com) 设计时间:2005-11-3 13:58:26***************... 阅读全文
posted @ 2006-01-05 09:11 迪克猪 阅读(357) 评论(0) 推荐(0) 编辑
摘要:/**//******************************************************************************************* 过程名称:Common_SoBiGo_Percent_Pagination 过程功能: 代码设计:小朱(zsy619@163.com) 设计时间:2005-11-3 13:58:26********... 阅读全文
posted @ 2006-01-05 09:09 迪克猪 阅读(360) 评论(0) 推荐(0) 编辑
摘要:/**//******************************************************************************************* 存储过程名称:Common_Pagination 存储过程功能:通用分页存储过程 操 作 说 明 : 设 计 时 间 :2004年11月01日 代码设计者 :小朱(zsy619@... 阅读全文
posted @ 2006-01-05 09:08 迪克猪 阅读(527) 评论(0) 推荐(0) 编辑
摘要:/**//******************************************************************************************* 过程名称:Common_OrderUpend_Pagination 过程功能:排序反转分页法实现的分页存储过程 代码设计:小朱(zsy619@163.com) 设计时间:2005-11-3 13:5... 阅读全文
posted @ 2006-01-05 09:07 迪克猪 阅读(485) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示