03 2006 档案

摘要:1if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Paging_RowCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) 2drop procedure [dbo].[Paging_RowCount] 3GO 4 5SET QUOTED_ID... 阅读全文
posted @ 2006-03-28 15:24 一抹微蓝 阅读(373) 评论(0) 推荐(0) 编辑
摘要:1'---------------------------------------------------------------------------- 2'函数原型:OpenConn(ByRef dbConn) 3'功能说明:根据指定的数据库路径打开一个连接 4'参数类型:dbConn待打开的数据库连接对象,已经定义的变量 5'返 回 值:无 6'创建日期:2004年5月20日 7'最后修... 阅读全文
posted @ 2006-03-24 11:25 一抹微蓝 阅读(321) 评论(0) 推荐(0) 编辑
摘要:这是我写的存储过程 CREATE proc hz @count2 bigint output, @minsl varchar, @maxsl varchar as create table #tmp(qqno bigint,[check] tinyint,sumsl varchar) create table #tmp1(qqno bigint,friendqqno bigint,addtime ... 阅读全文
posted @ 2006-03-23 16:08 一抹微蓝 阅读(1242) 评论(0) 推荐(0) 编辑
摘要:1CREATE procedure p_splitpage 2@sql nvarchar(4000), 3@page int=1, 4@pagesize int, 5@pageCount int=0 output, 6@recordCount int=0 output 7as 8set nocount on 9declare @p1 int1011exec sp_cursoropen @p1 o... 阅读全文
posted @ 2006-03-22 16:59 一抹微蓝 阅读(364) 评论(0) 推荐(0) 编辑

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