摘要: 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 一抹微蓝 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 学习使用存储过程(Stored Procedure),是ASP程序员的必须课之一。所有的大型数据库都支持存储过程,比如Oracle、MS SQL等,(但MS Access不支持,不过,在Access里可以使用参数化的查询)。存储过程是利用SQL Server所提供的Tranact-SQL语言所编写的程序。Tranact-SQL语言是SQL Server提供专为设计数据库应用程序的语言,它是应用程序... 阅读全文
posted @ 2006-03-22 16:39 一抹微蓝 阅读(817) 评论(0) 推荐(0) 编辑