Forum Replies Created

Viewing 15 posts - 3,376 through 3,390 (of 7,503 total)

  • RE: Summing differences between time stamps

    Select top 1

    3 as LuckyExerciseNumber

    , isnull([Title],'') + [LastName]

    FROM [AdventureWorks].[Person].[Contact]

    ORDER BY SUBSTRING(CONVERT(VARCHAR(40), NEWID()), 1, 8)

    😀

  • RE: Summing differences between time stamps

    Are you referring to exercise 3 of Ms Brawn course ? :hehe:

  • RE: Server Login Audit

    Keep in mind this reg key only influences if SQLServer will write a notification in its ERRORLOG file.

    If you want an actual recording, regardless of this reg key setting, you...

  • RE: SQL database lost

    You've had some hints above,.

    Now, if this were on a RAID volume, this really shouldn't have been an error as long as the physical drives are still available to support...

  • RE: SQL help

    Jack Corbett (10/22/2009)


    Change Update ORders to update O

    As you have noticed, Jack used

    ...FROM

    orders O JOIN

    orders O2 ON

    ...

    The O and O2 are called...

  • RE: strange behaviour of databases

    1) compare the execution plans ! (and statistics)

    2) is the hardware configration the same ?

    ( cpu , ram, disk , io chanels,..)

    3) are these both dedicated sqlserver servers ?

    4) other...

  • RE: 64 bit windows and 32 bit sql 2005

    You can do that .... The question is WHY would you !!!

    If you have 64-bit available, use as much 64-bit software as you can !

    (btw with x64 sql2005 with...

  • RE: Which Service Pack to install on test SQL 2005 server

    I think that is a valid reason to install your test server with SP2.

    The migration project is the factor that calls for this decision. !

    When testing your migration, try to...

  • RE: Help me shut up a vendor

    Just my 2ct...

    In my prereq sheet, our window installers are using, I always request the disks to be formatted using the largest possible block size available.

    I personally don't think...

  • RE: Help in writing Query for hall booking date availability search

    So you should start with a "timeslot" table.

    Did you read these wonderful articles ?

    - The "Numbers" or "Tally" Table: What it is and how it replaces a loop. By...

  • RE: Norton and SQL Server

    I haven't encountered that behaviour.

    We recently went the other way around.;-)

    Maybe setting sqlservers "max server memory (MB)" config can help out.

  • RE: Distinct selection on datetime

    Or the simple version:

    Select distinct DATEADD(day, 0, DATEDIFF(day, 0, dt)) as DateOnly, AT, sysuser

    from #T1

    order by DateOnly, AT, sysuser

  • RE: SQl 2000 Upgrade Fail

    Did you use SQL2005 upgrade advisor to prepare your action ?

  • RE: What table design is better ?

    I prefer option A, but I would set the end date to a default value of '9999-12-31' and document it.

    Point is to avoid the NULL.

    Having the actual datetime data will...

  • RE: What table design is better ?

    I prefer option A, but I would set the end date to a default value of '9999-12-31' and document it.

    Point is to avoid the NULL.

    Having the actual datetime data will...

Viewing 15 posts - 3,376 through 3,390 (of 7,503 total)