Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Generic paged data like MySQL LIMIT

By dion, 2013/05/19

This works, however code is creating a live temp_1 table in the database instead of using a #temp_1 temporary table because is just would not work.

The next idea I had was to use a unique table name per connection for temp_1, but I would really rather use temporary tables.

I am hoping some SQL guru's can suggest some improvements to this script.

Total article views: 110 | Views in the last 30 days: 1
 
Related Articles
FORUM

Perform a count and then another count

Hi, I have multiple users per account ie Acc A User1 User2 User3 Acc B User4 User5 User...

FORUM

How to Tune Queries

Hi All Following attachment is a sql plan of a query that i have to tune query is insert...

FORUM

Stored Procedure for paged data like MySQL LIMIT

The following code is intended to provide a server side solution for outputing data in pages given ...

FORUM

Couldn''t replace text

Hi, I am new to SQL 2005. And I am doing a straigth select from a table. The query looks pretty...

FORUM

String or binary data would be truncated.

String or binary data would be truncated.

Tags
miscellaneous    
t-sql    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones