Click here to Skip to main content
15,897,891 members
Home / Discussions / Database
   

Database

 
GeneralRe: want a school good database ( tables and columns) Pin
Klaus-Werner Konrad31-Mar-11 8:29
Klaus-Werner Konrad31-Mar-11 8:29 
AnswerRe: want a school good database ( tables and columns) Pin
Eddy Vluggen28-Mar-11 9:00
professionalEddy Vluggen28-Mar-11 9:00 
QuestionDelta between records in one column Pin
Member 377323026-Mar-11 20:44
Member 377323026-Mar-11 20:44 
AnswerRe: Delta between records in one column Pin
Wendelius26-Mar-11 22:07
mentorWendelius26-Mar-11 22:07 
GeneralRe: Delta between records in one column Pin
Member 377323026-Mar-11 22:24
Member 377323026-Mar-11 22:24 
GeneralRe: Delta between records in one column Pin
Wendelius26-Mar-11 22:42
mentorWendelius26-Mar-11 22:42 
GeneralRe: Delta between records in one column Pin
Member 377323026-Mar-11 23:16
Member 377323026-Mar-11 23:16 
GeneralRe: Delta between records in one column Pin
Wendelius26-Mar-11 23:38
mentorWendelius26-Mar-11 23:38 
If it's taking a long time, it's probably because for each row in the main query a scan is done to the table to fetch the previous/next row. If possible, can you add an index to the table for the column you're using in the subquery. If several columns are used in the subquery condition consider having more than one column in the index.
The need to optimize rises from a bad design.My articles[^]

AnswerRe: Delta between records in one column Pin
Jörgen Andersson27-Mar-11 8:26
professionalJörgen Andersson27-Mar-11 8:26 
GeneralRe: Delta between records in one column [modified] Pin
Member 377323027-Mar-11 22:34
Member 377323027-Mar-11 22:34 
QuestionPivot? Pin
Andy_L_J26-Mar-11 14:56
Andy_L_J26-Mar-11 14:56 
AnswerRe: Pivot? Pin
Mycroft Holmes26-Mar-11 19:56
professionalMycroft Holmes26-Mar-11 19:56 
GeneralRe: Pivot? Pin
Andy_L_J27-Mar-11 18:18
Andy_L_J27-Mar-11 18:18 
GeneralRe: Pivot? Pin
Andy_L_J27-Mar-11 23:47
Andy_L_J27-Mar-11 23:47 
QuestionWhat are solutions for a way-too-big database? Pin
bobbi200426-Mar-11 7:23
bobbi200426-Mar-11 7:23 
AnswerRe: What are solutions for a way-too-big database? Pin
Wendelius26-Mar-11 7:41
mentorWendelius26-Mar-11 7:41 
GeneralRe: What are solutions for a way-too-big database? Pin
bobbi200426-Mar-11 16:20
bobbi200426-Mar-11 16:20 
AnswerRe: What are solutions for a way-too-big database? Pin
PIEBALDconsult26-Mar-11 17:21
mvePIEBALDconsult26-Mar-11 17:21 
GeneralRe: What are solutions for a way-too-big database? Pin
bobbi200427-Mar-11 6:53
bobbi200427-Mar-11 6:53 
AnswerRe: What are solutions for a way-too-big database? Pin
Klaus-Werner Konrad31-Mar-11 8:42
Klaus-Werner Konrad31-Mar-11 8:42 
QuestionMultiple selection from the same table Pin
CodingLover25-Mar-11 19:43
CodingLover25-Mar-11 19:43 
AnswerRe: Multiple selection from the same table Pin
Аslam Iqbal26-Mar-11 0:14
professionalАslam Iqbal26-Mar-11 0:14 
AnswerRe: Multiple selection from the same table Pin
Wendelius26-Mar-11 0:53
mentorWendelius26-Mar-11 0:53 
AnswerRe: Multiple selection from the same table Pin
Luc Pattyn26-Mar-11 7:27
sitebuilderLuc Pattyn26-Mar-11 7:27 
GeneralRe: Multiple selection from the same table Pin
Wendelius26-Mar-11 7:45
mentorWendelius26-Mar-11 7:45 

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.