Forum Replies Created

Viewing 15 posts - 21,271 through 21,285 (of 26,490 total)

  • RE: Help on purging old records

    trans54 (4/29/2009)


    I understand, but this is not what i was asking.

    Thanks anyway for your help!

    If that isn't what you were asking, how about clarifying the question? You asked how...

  • RE: There Must Be 15 Ways To Lose Your Cursors… Part 2: Just Put It in a S

    greatheep (4/29/2009)


    Andy DBA (4/27/2009)


    Obviously this will not help for cases where you have concurrency issues because you can't screen for that.

    And that would make up the second most common of...

  • RE: Help on purging old records

    trans54 (4/29/2009)


    Thank you so much, one more question:

    How can i completly eliminate from delete orderid = 2765 if it has UnitID = 89 and UnitID = 4 in this case...

  • RE: SELECT AVG() causing arithmetic overflow?

    It could be that the SUM of the values is greater than the maximum value for an INT data type. Try casting it as a BIGINT:

    select AVG(cast(ActivityID as bigint))...

  • RE: SSC Members Name

    karthikeyan (3/17/2009)


    As i said earlier,

    Politely saying, Since i visited our site more no of times(1370 visits from the joining date) and scored 1385 (comparing me with my related named...

  • RE: Are the posted questions getting worse?

    Okay, I started a formal poll.

  • RE: Find # of active days based on status records

    Are you looking for the date range a customer was active, or are you asking how many days a customer was active given a specified data range?

  • RE: Are the posted questions getting worse?

    GilaMonster (4/29/2009)


    Bruce W Cassidy (4/29/2009)


    [font="Verdana"]International Star Wars day... "May the 4th be with you."[/font]

    *groan*

    Hmmm, we were discussing having another Starwars day.....

    Now for something totally the same...

    How many people, besides...

  • RE: APP_NAME() vs PROGRAM_NAME()

    Sibbs (4/29/2009)


    Hello,

    I have been implementing some session source tracking on our SQL servers, and am unclear on any difference between the APP_NAME() and PROGRAM_NAME() functions.

    Most of the code examples I...

  • RE: Are the posted questions getting worse?

    But how many of you can actually visualize Darth Vader and Yoda working together??? :w00t:

  • RE: t-sql help

    Mh (4/29/2009)


    GSquared (4/28/2009)


    It's an undocumented table that SQL Server uses for it's own stuff. Basically, don't even try to change anything in it, but it can come in handy...

  • RE: Help on purging old records

    I hope the following code will help you:

    /*

    ORDERID DeliveryDate Price UnitId Status

    2765 2009-02-13 00:00:00.000 49.95 4 Completed

    2765 2009-02-13 00:00:00.000 9.95 89 Completed

    2765 2009-02-14 00:00:00.000 49.95 89 Completed

    2766 2009-02-15 00:00:00.000 19.95...

  • RE: Are the posted questions getting worse?

    Roy Ernest (4/29/2009)


    I am reaching that magic figure of 1000. But that does not mean I know anything. But I try to learn from reading the solutions to different problems...

  • RE: Are the posted questions getting worse?

    And yet, I managed to redeem myself in that very same thread! (The silence in the desert is deafening!) 😉

  • RE: Detect duplicate rows - with a twist

    Scott Roberts (4/29/2009)


    Jeff Moden (4/29/2009)


    Scott Roberts (4/29/2009)


    Sorry about the confusion over mis-matched data sizes for RawData. The RawData column used to be VARCHAR(300) but we encountered a new format that...

Viewing 15 posts - 21,271 through 21,285 (of 26,490 total)