Click here to Skip to main content
15,899,754 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server Time data type and negative TimeSpan values? Pin
Jörgen Andersson9-Sep-11 8:29
professionalJörgen Andersson9-Sep-11 8:29 
AnswerRe: SQL Server Time data type and negative TimeSpan values? Pin
jschell9-Sep-11 7:16
jschell9-Sep-11 7:16 
AnswerRe: SQL Server Time data type and negative TimeSpan values? Pin
Jörgen Andersson9-Sep-11 8:18
professionalJörgen Andersson9-Sep-11 8:18 
GeneralRe: SQL Server Time data type and negative TimeSpan values? Pin
Wendelius9-Sep-11 11:18
mentorWendelius9-Sep-11 11:18 
AnswerRe: SQL Server Time data type and negative TimeSpan values? Pin
Wendelius9-Sep-11 11:17
mentorWendelius9-Sep-11 11:17 
QuestionSQL Paging Pin
benams7-Sep-11 0:14
benams7-Sep-11 0:14 
AnswerRe: SQL Paging Pin
Wendelius7-Sep-11 0:36
mentorWendelius7-Sep-11 0:36 
AnswerRe: SQL Paging Pin
jschell7-Sep-11 8:49
jschell7-Sep-11 8:49 
At some point you are presenting too much data to a user.

If you are looking at a 25 row limit per page then probably the limit is well below 500 total rows.

At that point you know that the user knows what they are looking for. They are not just randomly scanning records. So make them tell you what they are looking for. Use that to create a query that restricts the total rows returned.

When creating servers I usually have a configurable maximum and user queries are run with a count(...) first and if the return is more than a maximum then I return an error. The GUI screens are responsible for providing sufficient input specific to one query to allow the user to provide enough data to get below the limit.
AnswerRe: SQL Paging Pin
Mycroft Holmes7-Sep-11 12:50
professionalMycroft Holmes7-Sep-11 12:50 
GeneralRe: SQL Paging Pin
David Skelly7-Sep-11 22:24
David Skelly7-Sep-11 22:24 
QuestionSQL server and multi core cpu utilization Pin
Mehdi Gholam6-Sep-11 18:12
Mehdi Gholam6-Sep-11 18:12 
AnswerRe: SQL server and multi core cpu utilization Pin
Wendelius6-Sep-11 19:50
mentorWendelius6-Sep-11 19:50 
GeneralRe: SQL server and multi core cpu utilization Pin
Mehdi Gholam6-Sep-11 21:23
Mehdi Gholam6-Sep-11 21:23 
GeneralRe: SQL server and multi core cpu utilization Pin
Wendelius6-Sep-11 21:57
mentorWendelius6-Sep-11 21:57 
AnswerRe: SQL server and multi core cpu utilization Pin
jschell7-Sep-11 8:50
jschell7-Sep-11 8:50 
GeneralRe: SQL server and multi core cpu utilization Pin
Mehdi Gholam7-Sep-11 9:12
Mehdi Gholam7-Sep-11 9:12 
GeneralRe: SQL server and multi core cpu utilization Pin
jschell8-Sep-11 8:33
jschell8-Sep-11 8:33 
QuestionPicture's in the database? Pin
David C# Hobbyist.6-Sep-11 11:55
professionalDavid C# Hobbyist.6-Sep-11 11:55 
AnswerRe: Picture's in the database? Pin
Mycroft Holmes6-Sep-11 12:39
professionalMycroft Holmes6-Sep-11 12:39 
GeneralRe: Picture's in the database? Pin
David C# Hobbyist.6-Sep-11 15:04
professionalDavid C# Hobbyist.6-Sep-11 15:04 
AnswerRe: Picture's in the database? Pin
PIEBALDconsult6-Sep-11 14:48
mvePIEBALDconsult6-Sep-11 14:48 
GeneralRe: Picture's in the database? Pin
David C# Hobbyist.6-Sep-11 15:00
professionalDavid C# Hobbyist.6-Sep-11 15:00 
AnswerRe: Picture's in the database? Pin
Pradeep Shukla6-Sep-11 18:20
professionalPradeep Shukla6-Sep-11 18:20 
AnswerRe: Picture's in the database? Pin
Wendelius6-Sep-11 19:45
mentorWendelius6-Sep-11 19:45 
GeneralRe: Picture's in the database? Pin
David C# Hobbyist.7-Sep-11 7:41
professionalDavid C# Hobbyist.7-Sep-11 7:41 

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.