Forum Replies Created

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

  • RE: T-Sql rant

    J (3/17/2009)


    Lynn Pettis (3/17/2009)[

    Sorry, had to make a slight correction, emphasis is mine.

    Woops! with my limited command of the Englsih language (not my mother tonge) I assumed Lynn was a...

  • RE: T-Sql rant

    foxjazz (3/17/2009)


    why would any of you think that foreach(select something) impies a cursor within t-sql?

    Is it because the only way we are able to do a loop in t-sql is...

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

    I humbly apologize, I just came to the same conclusion that the repeating place holder is for adding new columns.

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

    I'll give it a try. If it doesn't work, then I think there is a problem with the documentation. I was just reading it as they say to.

  • RE: T-Sql rant

    J (3/17/2009)


    Most of the time when using cursors, it isn't to go through lots of records, but just a few at a time

    This kind of justification inevitably leads to a...

  • 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,...

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