|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Friday, September 03, 2010 4:19 AM
Points: 158,
Visits: 72
|
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 7:59 PM
Points: 1,491,
Visits: 3,010
|
|
Or, if your locality sets the date format as dd/mm/yyyy, then would not the 01/07/2010 row be saved as first of July? That would seem to still result in two matches.
But, are there other national settings that might give a different result?
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 6:30 AM
Points: 9,410,
Visits: 6,495
|
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, June 06, 2013 1:30 AM
Points: 515,
Visits: 390
|
|
The question asks us to 'predict' the outcome, which implies you do it by inspection. But how is anyone supposed to know that 40358 is a relevant date serial? Poorly constructed question, I'd say.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Monday, May 16, 2011 8:22 AM
Points: 378,
Visits: 353
|
|
Hi,
Using UK regional settings my result was 1.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, December 28, 2010 2:22 PM
Points: 33,
Visits: 30
|
|
Interesting question but the correct answer is ... 1
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 7:53 AM
Points: 856,
Visits: 580
|
|
I agree with Bob: how should we know which date 40358 is, without executing a command? Poor question, poor explanation as well (as pointed out in some other reactions).
Peter Rijs BI Consultant, The Netherlands MCITP BI Dev & DB Dev (SQL 2008 & 2005)
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 12:36 AM
Points: 2,547,
Visits: 3,648
|
|
No comment, next question... :)
Best Regards,
Chris Büttner
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, August 03, 2011 9:50 AM
Points: 43,
Visits: 5
|
|
| Grr. This returns 1 on my setup. Ah well.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 4:19 AM
Points: 1,115,
Visits: 1,210
|
|
Yes, there are different cultures with different dateformats. Not only strange countries from the east of Europe! The different order in writing dates in UK and USA was used as a clue by lord Peter Wimsey. I don't rememeber the name of that story.
See, understand, learn, try, use efficient © Dr.Plch
|
|
|
|