Home > Database > Mysql Tutorial > body text

sql server 2005分页存储过程和sql server 2000分页存储过程

WBOY
Release: 2016-06-07 17:46:58
Original
894 people have browsed it

 sql server 2005分页存储过程和sql server 2000分页存储过程,sql 2005的分页存储过程分3个版本,一个是没有优化过的,一个是优化过的,最后一个支持jion的,sql2000的分页存储过程,也可以运行在sql2005上,但是性能没有sql2005的版本好。

USE [svnhost]

GO

/****** 对象:  StoredProcedure [dbo].[up_Page2005]    脚本日期: 05/21/2008 11:27:05 ******/

SET ANSI_NULLSON

GO

SET QUOTED_IDENTIFIERON

GO



CREATE proc [dbo].[up_Page2005]

@TableName varchar(50),       --表名

@Fields

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template