• thisisfutile (5/12/2010)


    thisisfutile (5/12/2010)


    JacekO (5/12/2010)


    If anyone of you got the 3.33 ms on a 32 bit box please reply with more specifics on the OS, CPU and SQL Server version.

    My XP workstation is 32-bit with SQL Server 2008 Express (SP3) ... and I get 3.3333 on the first query

    My server is SBS 2003, 32-bit with SQL Server 2005 Workgroup (SP2) ... and I get 15.6xxx on the first query

    HTH

    Expanding on my previous respons...

    If I run the first query directly on the server, it still reports 15.62xx. After seeing 3.33 on my workstation and it's local SQL install, I sort of expected to see 3.33 when running the query directly on the server. </naivety>

    😛

    I think you might be actually pointing out to the reason of the differing results. Your server is running SP2 and workstation is running SP3.

    The link Chris posted to the MS blog (see my reply above) indicates that MS introduced some changes in SP3 of 2005 so the server can use a higher precision timers. If the timer has better presision then 3.33 ms then the getdate will be limited by the datatype precision. If the server is using the lower precision timer then you will see the ~16ms getdate() precision.

    ---------------------------------------------
    [font="Verdana"]Nothing is impossible.
    It is just a matter of time and money.[/font]