Forum Replies Created

Viewing 15 posts - 21,946 through 21,960 (of 26,484 total)

  • RE: more than one column modification in a sql table

    Yes, you can. I am including a partial copy of the ALTER TABLE statement from BOL:

    ALTER TABLE [ database_name . [ schema_name ] . | schema_name . ] table_name...

  • RE: Case using DateDiff doesn't handle negative numbers

    Lynn Pettis (3/17/2009)


    d_walker (3/17/2009)


    Based on several examples found here and in BOL I have the following SQL :

    SUM(CASE WHEN DateDiff(d,GETDATE(),l.[Due Date]) between -31 and -60 THEN d.[Amount (LCY)] ELSE 0...

  • RE: Case using DateDiff doesn't handle negative numbers

    d_walker (3/17/2009)


    Based on several examples found here and in BOL I have the following SQL :

    SUM(CASE WHEN DateDiff(d,GETDATE(),l.[Due Date]) between -31 and -60 THEN d.[Amount (LCY)] ELSE 0 END) as...

  • RE: question, urgent please!!!

    Mh (3/17/2009)


    I am really sorry for not responding to the questions. Actually the issue has been resolved. Thanks for all your help!!

    Forum etiquette would have you post your resolution so...

  • RE: Are the posted questions getting worse?

    Well, if you've checked my profile you know I live in Colorado Springs, CO. My drink of choice is Dr Pepper. Mostly the diet version, but I do...

  • RE: Reduce table size without locking.

    Can you provide more information about the tables? The DDL (CREATE TABLE statments) and the indexes defined would be beneficial.

    The key idea is to identify what records you want...

  • RE: Fastest way to add indexes to 9+ million records in a table

    Michael Valentine Jones (3/16/2009)


    I can't see why you would drop the clustered index and then recreate it, since that forces SQL Server to rebuild the table as a heap and...

  • RE: T-Sql rant

    You know what? We should move this conversation back to THE THREAD before we actually do have THE SON OF THREAD going. Care to join me?

  • RE: T-Sql rant

    Bruce W Cassidy (3/16/2009)


    [font="Verdana"]...and thus was born the son of thread. Oh, wait: we need three wise people. Who is up for a camel ride?[/font]

    I don't ride no...

  • RE: T-Sql rant

    Lynn Pettis (3/16/2009)


    Bob Hovious (3/16/2009)


    I'm in the states, and the choice of beverage is secondary to the opportunity for a good conversation. Do you do caffeine?

    Soda, not coffee.

    Well,...

  • RE: T-Sql rant

    Bob Hovious (3/16/2009)


    I'm in the states, and the choice of beverage is secondary to the opportunity for a good conversation. Do you do caffeine?

    Soda, not coffee.

  • RE: T-Sql rant

    Bob Hovious (3/16/2009)


    Guiness is better. Perhaps some day we'll have opportunity to knock back a pint or two, Lynn. First round is on me.

    You'll shoot me...

  • RE: question, urgent please!!!

    john.arnott (3/16/2009)


    Bob Hovious (3/16/2009)


    Took me a while to sort out the identities by join date.

    The obvious question to ask is:

    If the other Mh wasn't the person that started this thread,...

  • RE: T-Sql rant

    steve dassin (3/16/2009)


    Lynn Pettis (3/16/2009)


    steve dassin (3/16/2009)


    [

    To see for yourself visit my blog (for explanations and examples) or check out the system documentation (chm file):

    http://www.geocities.com/d4tosql/D4/Dataphor.zip

    Better yet I invite you to...

  • RE: T-Sql rant

    I am not sure if anyone else feels this way, but I won't be hurt if Steve closed this thread.

Viewing 15 posts - 21,946 through 21,960 (of 26,484 total)