Click here to Skip to main content
15,892,059 members
Home / Discussions / Database
   

Database

 
QuestionDate Format Pin
Jay_se3-Jan-07 19:12
Jay_se3-Jan-07 19:12 
AnswerRe: Date Format Pin
nagendra rao s.v.3-Jan-07 19:52
nagendra rao s.v.3-Jan-07 19:52 
AnswerRe: Date Format Pin
Colin Angus Mackay3-Jan-07 23:07
Colin Angus Mackay3-Jan-07 23:07 
GeneralRe: Date Format Pin
Jay_se4-Jan-07 0:50
Jay_se4-Jan-07 0:50 
Questionconnection string, ip, remote server connection Pin
steve_rm3-Jan-07 17:17
steve_rm3-Jan-07 17:17 
AnswerRe: connection string, ip, remote server connection Pin
Uri Lavi4-Jan-07 1:03
Uri Lavi4-Jan-07 1:03 
QuestionOptimization of INNER JOIN Pin
PIEBALDconsult3-Jan-07 11:31
mvePIEBALDconsult3-Jan-07 11:31 
AnswerRe: Optimization of INNER JOIN Pin
Chris Meech3-Jan-07 11:46
Chris Meech3-Jan-07 11:46 
I'd write it this way instead
select e.*
  from employee e
 where e.department = 'Sales'
   and exists ( select a.EmployeeId
                  from Address a
                 where e.EmployeeId = a.EmployeeId
              )
;


I've always found using the 'exists' clause with a second query to be more performant than trying to use a join (even though logically they are equivalent). Smile | :)


Chris Meech
I am Canadian. [heard in a local bar]
I agree with you that my argument is useless. [Red Stateler]
Hey, I am part of a special bread, we are called smart people [Captain See Sharp]
The zen of the soapbox is hard to attain...[Jörgen Sigvardsson]
I wish I could remember what it was like to only have a short term memory.[David Kentley]

GeneralRe: Optimization of INNER JOIN Pin
PIEBALDconsult4-Jan-07 3:47
mvePIEBALDconsult4-Jan-07 3:47 
AnswerRe: Optimization of INNER JOIN Pin
Mark J. Miller3-Jan-07 11:58
Mark J. Miller3-Jan-07 11:58 
GeneralRe: Optimization of INNER JOIN Pin
PIEBALDconsult4-Jan-07 5:46
mvePIEBALDconsult4-Jan-07 5:46 
GeneralRe: Optimization of INNER JOIN Pin
Mark J. Miller4-Jan-07 6:22
Mark J. Miller4-Jan-07 6:22 
Questionsql instances on LAN in combo in vb.net [modified] Pin
Hasan Jaffal3-Jan-07 10:24
Hasan Jaffal3-Jan-07 10:24 
AnswerRe: sql instances on LAN in combo in vb.net Pin
Hasan Jaffal4-Jan-07 4:05
Hasan Jaffal4-Jan-07 4:05 
QuestionDataset not saving the changes Pin
Irfan Faruki3-Jan-07 9:23
Irfan Faruki3-Jan-07 9:23 
AnswerRe: Dataset not saving the changes Pin
Mark J. Miller3-Jan-07 11:39
Mark J. Miller3-Jan-07 11:39 
GeneralRe: Dataset not saving the changes Pin
Irfan Faruki3-Jan-07 22:01
Irfan Faruki3-Jan-07 22:01 
QuestionBulk copy on Sql mobile 2005 Pin
Filip Landr2-Jan-07 21:14
Filip Landr2-Jan-07 21:14 
QuestionSQL Query not work Pin
jaganil2-Jan-07 21:12
jaganil2-Jan-07 21:12 
AnswerRe: SQL Query not work Pin
Elina Blank3-Jan-07 3:32
sitebuilderElina Blank3-Jan-07 3:32 
AnswerRe: SQL Query not work Pin
ChandraRam3-Jan-07 23:16
ChandraRam3-Jan-07 23:16 
QuestionMs-Sql data optimization Pin
vijaymuthu2-Jan-07 18:59
vijaymuthu2-Jan-07 18:59 
AnswerRe: Ms-Sql data optimization Pin
Pete O'Hanlon2-Jan-07 22:27
mvePete O'Hanlon2-Jan-07 22:27 
QuestionSet default database and log locations in SQL Server Management Studio Express Pin
kani982-Jan-07 13:11
kani982-Jan-07 13:11 
QuestionScript/tool to update schema of my database when the latest_schema script is provided Pin
PrashantJ2-Jan-07 5:10
PrashantJ2-Jan-07 5:10 

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.