Click here to Skip to main content
15,912,977 members
Home / Discussions / Database
   

Database

 
QuestionWhat is ??? The Problem Pin
jinbabaj17-Feb-04 3:56
jinbabaj17-Feb-04 3:56 
AnswerRe: What is ??? The Problem Pin
Edbert P17-Feb-04 17:19
Edbert P17-Feb-04 17:19 
GeneralRetrieving a list of tables (ADO) Pin
pl0p16-Feb-04 17:28
pl0p16-Feb-04 17:28 
GeneralRe: Retrieving a list of tables (ADO) Pin
Mazdak16-Feb-04 17:47
Mazdak16-Feb-04 17:47 
GeneralRe: Retrieving a list of tables (ADO) Pin
-Dr_X-20-Feb-04 11:16
-Dr_X-20-Feb-04 11:16 
GeneralAccess Pin
Anonymous16-Feb-04 16:05
Anonymous16-Feb-04 16:05 
GeneralRe: Access Pin
-Dr_X-20-Feb-04 11:23
-Dr_X-20-Feb-04 11:23 
GeneralSelect MID?? instead of TOP Pin
krisp16-Feb-04 11:26
krisp16-Feb-04 11:26 
Is there a way instead of using SELECT TOP 10

to say something like:

SELECT MID 11 10 or something, so it starts at the 11th record and takes 10 records after it.

This way I can easily put my data into pages, straight from the database, with 10 records on each page. I would also need to be able to first order them and then take 10 records starting from some nth record.

Any suggestions, returning 2000 records when i only display 10 seems very wastefull.

Thanks.

http://www.codeproject.com/aspnet/custompaging.asp
I found this link here, but this seems very inefficient as well. It creates a temp table and still selects all records and inserts them into the temp table. Regarding this way... does the # in front of the table name mean it gets dropped when the stored procedure is done running? The Author never drops it, and so if multiple people called this function at the same time, what happens to the temp table? Never seen the pound sign # in front of a table before.

Thanks some more.
GeneralRe: Select MID?? instead of TOP Pin
John Kuhn16-Feb-04 11:46
John Kuhn16-Feb-04 11:46 
GeneralRe: Select MID?? instead of TOP Pin
krisp16-Feb-04 11:52
krisp16-Feb-04 11:52 
GeneralRe: Select MID?? instead of TOP Pin
John Kuhn16-Feb-04 15:13
John Kuhn16-Feb-04 15:13 
GeneralSQL Server 2000 Connection From ASP Pin
SamAmman15-Feb-04 22:32
SamAmman15-Feb-04 22:32 
GeneralRe: SQL Server 2000 Connection From ASP Pin
Marcie Jones16-Feb-04 2:59
Marcie Jones16-Feb-04 2:59 
GeneralRe: SQL Server 2000 Connection From ASP Pin
Mike Dimmick17-Feb-04 6:41
Mike Dimmick17-Feb-04 6:41 
GeneralBoy I have a goober of a problem. Pin
Anonymous15-Feb-04 21:23
Anonymous15-Feb-04 21:23 
GeneralProblem with simple SQL query :D Pin
gamerPotatoe15-Feb-04 21:10
gamerPotatoe15-Feb-04 21:10 
GeneralRe: Problem with simple SQL query :D Pin
Mazdak15-Feb-04 21:29
Mazdak15-Feb-04 21:29 
GeneralConcatenating variables in SQL query Pin
solostar***15-Feb-04 16:19
solostar***15-Feb-04 16:19 
GeneralRe: Concatenating variables in SQL query Pin
Mike Dimmick16-Feb-04 2:32
Mike Dimmick16-Feb-04 2:32 
GeneralRe: Concatenating variables in SQL query Pin
Bill Dean16-Feb-04 2:34
Bill Dean16-Feb-04 2:34 
GeneralFree C# training Pin
Anonymous15-Feb-04 15:14
Anonymous15-Feb-04 15:14 
GeneralRe: Free C# training Pin
John Kuhn16-Feb-04 11:49
John Kuhn16-Feb-04 11:49 
GeneralProblem in using Stream object's write method Pin
Member 48497613-Feb-04 21:15
Member 48497613-Feb-04 21:15 
GeneralODBC and TCP/IP Pin
Kwai Cheng Kane13-Feb-04 10:25
Kwai Cheng Kane13-Feb-04 10:25 
QuestionListing tables and views? Pin
Bill Dean13-Feb-04 8:08
Bill Dean13-Feb-04 8:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.