Forum Replies Created

Viewing 15 posts - 18,346 through 18,360 (of 26,484 total)

  • RE: Deterministic Function

    Try this:

    CREATE FUNCTION dbo.fnTest ()

    RETURNS int

    WITH SCHEMABINDING

    AS

    BEGIN

    RETURN 1

    END

    GO

  • RE: T-SQL

    rparakalla (11/17/2009)


    Most of the questions posted in QOD is to answer the question and not the intentions of the person who writes the question I guess

    I disagree. To answer...

  • RE: T-SQL

    Toreador (11/17/2009)


    Lynn Pettis (11/17/2009)


    You know, I haven't tried writing a QotD. Have you?

    Ah, that old chestnut.

    I've never been Prime Minister either, but I still get to say what I...

  • RE: Large Number of Tables (1,090,000)

    Daniel Wood (11/17/2009)


    Thanks for the replies

    More information

    Buffer cache Ratio seems to be 90 - 96

    There is also an issue with high IO on the data drive which the System team...

  • RE: T-SQL

    Toreador (11/17/2009)


    Lynn Pettis (11/17/2009)


    Yes, getdate() and getutcdate() return different values, just look at what they return when you run them. However both functions return values that are equivelent to...

  • RE: Are the posted questions getting worse?

    ARRRRGGGGGG!!!!

    I'm heading out to the desert for a while just in case you don't see me for a few days.

  • RE: T-SQL

    david.j.campbell (11/17/2009)


    You on the same longitude as Greenwich England, Bitbucket?

    This is the first time I can think of that I've been discriminated against based on my geography.

    While the values may...

  • RE: T-SQL

    Okay, I give up. No one is really paying attention to the concept that the question was trying to bring out. Everyone is concentrating on the actual values...

  • RE: T-SQL

    Cliff Jones (11/17/2009)


    I work with date time functions all of the time and would contend that since the Time Zone is not returned as part of the result, the times...

  • RE: T-SQL

    7:00 AM <> 2:00 PM, true

    7:00 AM MST = 2:00 PM UTC, true.

    That is the concept that the question is trying to address.

  • RE: Backup large database for datawarehouse

    Bru Medishetty (11/17/2009)


    Yes Lynn you are right.

    I forgot the Basic one.

    Been there, done that in other areas. Not a biggie.

    😉

  • RE: Backup large database for datawarehouse

    Bru Medishetty (11/17/2009)


    You can start with a Weekly Full backup and daily Differential backup (if needed twice a day).

    Monitor the Database growth over a few weeks period, and then decide...

  • RE: Inserting Millions Of records

    Good catch, yes that should be a left outer join. Not enough "coffee" this morning. Getting into work at 6:00 AM local time starting this week and obviously...

  • RE: T-SQL

    crussell-931424 (11/17/2009)


    I got the following data:

    2009-11-16 07:05:34.010 Monday

    2009-11-16 07:05:34.010 Monday

    2009-11-16 14:05:34.017 Monday

    2009-11-16 14:05:34.017 Monday

    The seconds were different. So the answer is false. I want my score corrected.

    Actually, the seconds are...

  • RE: T-SQL

    cengland0 (11/17/2009)


    Lynn, you have a valid point but if you were to show those times to a client, they would only see the output not the representation. So, for...

Viewing 15 posts - 18,346 through 18,360 (of 26,484 total)