Forum Replies Created

Viewing 15 posts - 241 through 255 (of 820 total)

  • RE: Importance of UPSERT

    Have we talked about REPLACE INTO? I'm still longing for the alternative syntax for INSERT.

    INSERT INTO [###_120978_@@#@]

    SET [ Key]='2863485278',

    [ CustomerId]=78496,

    [ ShippingAddressID]=12782,

    [ TakenByID]=345,

    [ OrderStarted]=GETUTCDATE()

    ATBCharles Kincaid

  • RE: Getting Colorful

    majorbloodnock (5/10/2010)


    A napkin? Wow; that's a bit upmarket. In the UK, we generally talk more in terms of a scribble or two on the back of a cigarette packet.

    That said,...

    ATBCharles Kincaid

  • RE: Getting Colorful

    I was asked if I was going to write my life story. No. But I thought about writing the amusing stories that have happened over the years. ...

    ATBCharles Kincaid

  • RE: Getting Colorful

    There are three main component categories for a system:

    "Hardware" - physical devices. How many programmers does it take to change a light bulb? None. That's a hardware...

    ATBCharles Kincaid

  • RE: No More NULL

    GSquared (4/1/2010)


    My shoelaces are untied? Thanks! Wait .... 😀

    One thing good about a progressive disability. I've "graduated" to Velcro on my shoes. They can't pull that...

    ATBCharles Kincaid

  • RE: No More NULL

    What is NULL? I don't get it. 🙂

    ATBCharles Kincaid

  • RE: Rolling Back a Restore

    I agree with what has been said. Disk space is a big issue. Also if your restore fails part way through will SQL server have enough resources to...

    ATBCharles Kincaid

  • RE: Should We Lead or Follow?

    Here is a case example:

    Customer X has a couple dozen facilities. Product is transferred between facilities routinely. When transferring from A to B they "moved" the inventory from...

    ATBCharles Kincaid

  • RE: XP_CMDSHELL

    Yes you all have it right nut have not stated why.

    In SQL a carriage return or two adds readability. We get into the habit of it and it's not...

    ATBCharles Kincaid

  • RE: Too Tipsy To Work

    Well you are right. A person under the influence (of what? fill in the blank) should be able to refuse work. I contend that it is your responsibility...

    ATBCharles Kincaid

  • RE: Recovering data from corrupt tables using non-clustered indexes

    Clustered Indexes remove the data from the base table and store the data along with the pointer to the row in the table in the Clustered Index.

    Well you...

    ATBCharles Kincaid

  • RE: Being Supportive

    OK stand by for the rant here.

    One of the best things that happened at the dental company was that the development team worked for the support manager. It did...

    ATBCharles Kincaid

  • RE: Undocumented Extended and Stored Procedures

    You are going to just love this one! Try it like this:exec dbo.sp_msforeachtable 'select * from ?'

    Note the lack of brackets. Go figure.

    ATBCharles Kincaid

  • RE: Raw Materials - Minds on Fire

    Given the set A which is a set of all sets that do not contain themselves as proper subsets, is set A in set A?

    The infinite loop usually does not...

    ATBCharles Kincaid

  • RE: Date Query

    I would use this form:SELECT SomeThing

    FROM wce_history

    WHERE recordedtime >= DATEADD(MONTH, -2, DATEDIFF(DAY, 0, GETDATE()))

    As others have pointed out there are issues with the time portion of datetime. ...

    ATBCharles Kincaid

Viewing 15 posts - 241 through 255 (of 820 total)