Click here to Skip to main content
15,915,611 members
Home / Discussions / Database
   

Database

 
GeneralSQL Server/Access Import Issue Pin
Ossmer13-Sep-04 21:45
Ossmer13-Sep-04 21:45 
GeneralNew data row in data set- without disturbing IIS ! Pin
aBaste13-Sep-04 20:58
aBaste13-Sep-04 20:58 
GeneralRe: New data row in data set- without disturbing IIS ! Pin
Steven Campbell14-Sep-04 8:13
Steven Campbell14-Sep-04 8:13 
GeneralOdbcDataAdapter OR OleDbDataAdapter Pin
Salil Khedkar13-Sep-04 2:54
Salil Khedkar13-Sep-04 2:54 
GeneralRe: OdbcDataAdapter OR OleDbDataAdapter Pin
David Salter13-Sep-04 3:33
David Salter13-Sep-04 3:33 
GeneralRe: OdbcDataAdapter OR OleDbDataAdapter Pin
Salil Khedkar13-Sep-04 20:43
Salil Khedkar13-Sep-04 20:43 
GeneralRe: OdbcDataAdapter OR OleDbDataAdapter Pin
David Salter14-Sep-04 10:59
David Salter14-Sep-04 10:59 
GeneralRe: OdbcDataAdapter OR OleDbDataAdapter Pin
cmk14-Sep-04 15:58
cmk14-Sep-04 15:58 
GeneralRe: OdbcDataAdapter OR OleDbDataAdapter Pin
Salil Khedkar14-Sep-04 20:19
Salil Khedkar14-Sep-04 20:19 
GeneralRe: OdbcDataAdapter OR OleDbDataAdapter Pin
Salil Khedkar14-Sep-04 22:32
Salil Khedkar14-Sep-04 22:32 
QuestionRowUpdated event,, info ???? Pin
Md Saleem Navalur13-Sep-04 2:44
Md Saleem Navalur13-Sep-04 2:44 
GeneralCDaoDatabase connect string in Windows XP Pin
olis12-Sep-04 5:34
olis12-Sep-04 5:34 
GeneralReporting Service Pin
architechnology.de11-Sep-04 5:00
architechnology.de11-Sep-04 5:00 
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 

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.