Click here to Skip to main content
15,894,343 members
Home / Discussions / Database
   

Database

 
GeneralWhy I Can't update table (dbf) Pin
delemur11-Sep-04 3:29
delemur11-Sep-04 3:29 
GeneralRe: Why I Can't update table (dbf) Pin
sreejith ss nair11-Sep-04 23:50
sreejith ss nair11-Sep-04 23:50 
GeneralWriting ActiveX Controls Pin
DustinMiles10-Sep-04 11:33
DustinMiles10-Sep-04 11:33 
GeneralRe: Writing ActiveX Controls Pin
Steven Campbell10-Sep-04 18:37
Steven Campbell10-Sep-04 18:37 
QuestionIs there a performance difference? Pin
Marc Clifton10-Sep-04 8:13
mvaMarc Clifton10-Sep-04 8:13 
AnswerRe: Is there a performance difference? Pin
Grimolfr10-Sep-04 9:15
Grimolfr10-Sep-04 9:15 
AnswerRe: Is there a performance difference? Pin
je_gonzalez10-Sep-04 10:45
je_gonzalez10-Sep-04 10:45 
AnswerRe: Is there a performance difference? Pin
Steven Campbell10-Sep-04 18:33
Steven Campbell10-Sep-04 18:33 
The first syntax is far superior in my mind, for the following reasons:
1) legibility
2) ease of maintenance - easily add/remove a join/condition
3) flexibility - it is easier to construct complex queries this way, especially those containing outer joins and/or complex joins.

I do think it is possible that the 1st syntax will lead to better optimized queries, because it gives the optimizer explicit information on what is a join and what is part of the WHERE clause. In a simple query it probably makes no difference, but once the query becomes complex, I'm sure it helps the query optimizer to know these things.

Final point on legibility - I usually write my queries something like this
SELECT * 
FROM Blah1 as T1
   INNER JOIN Blah2 as T2 ON T1.ID=T2.ID
   INNER JOIN Blah3 as T3 ON T1.Id=T3.ID 

which is much more legible.


my blog
AnswerRe: Is there a performance difference? Pin
Mike Ellison12-Sep-04 5:35
Mike Ellison12-Sep-04 5:35 
QuestionHow do I clear a datasource from a bound control? Pin
Bart-Man10-Sep-04 4:05
Bart-Man10-Sep-04 4:05 
AnswerRe: How do I clear a datasource from a bound control? Pin
sreejith ss nair11-Sep-04 23:55
sreejith ss nair11-Sep-04 23:55 
GeneraltSQL query Pin
partt10-Sep-04 2:57
partt10-Sep-04 2:57 
GeneralRe: tSQL query Pin
partt10-Sep-04 3:06
partt10-Sep-04 3:06 
GeneralGetting Server List. Pin
Sumit Domyan9-Sep-04 21:17
Sumit Domyan9-Sep-04 21:17 
GeneralRe: Getting Server List. Pin
David Salter9-Sep-04 22:39
David Salter9-Sep-04 22:39 
Generalnot detecting local MSDE Pin
Steven Dahlin9-Sep-04 17:00
Steven Dahlin9-Sep-04 17:00 
GeneralRe: not detecting local MSDE Pin
Christian Graus9-Sep-04 17:28
protectorChristian Graus9-Sep-04 17:28 
GeneralExtremely slow performance of OleDbDataAdapter.Fill method Pin
rotarinn9-Sep-04 7:05
rotarinn9-Sep-04 7:05 
GeneralRe: Extremely slow performance of OleDbDataAdapter.Fill method Pin
rotarinn9-Sep-04 8:21
rotarinn9-Sep-04 8:21 
QuestionReading From Procedures? Pin
Sumit Domyan9-Sep-04 2:53
Sumit Domyan9-Sep-04 2:53 
AnswerRe: Reading From Procedures? Pin
Colin Angus Mackay9-Sep-04 3:20
Colin Angus Mackay9-Sep-04 3:20 
GeneralRe: Reading From Procedures? Pin
Sumit Domyan9-Sep-04 18:55
Sumit Domyan9-Sep-04 18:55 
GeneralDTS packages Pin
Sudee8-Sep-04 22:42
Sudee8-Sep-04 22:42 
GeneralRe: DTS packages Pin
andyharman12-Sep-04 1:50
professionalandyharman12-Sep-04 1:50 
GeneralStored Procedure Pin
Goodway8-Sep-04 4:35
Goodway8-Sep-04 4:35 

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.