Forum Replies Created

Viewing 15 posts - 6,091 through 6,105 (of 9,707 total)

  • RE: Basic concat over 500 times slower than straight select?

    Hey, Ninja, I just realized that Varchar(MAX) isn't big enough to handle a database with a lot of tables. I've tried it on two of my "larger" databases (object-wise, not...

  • RE: Basic concat over 500 times slower than straight select?

    I'm curious. Why does a simple concat need variable = variable + string logic? I only ever use that when I'm COALESCING or looping (Cursor or While).

    What are you...

  • RE: Unified LOB Programming Model

    The context is this:

    RE: datatypes discussion


    When you specific MAX, the data types can store the same size data as text, ntext, and image types (up to 2 gigabytes) but process...

  • RE: Are the posted questions getting worse?

    WayneS (4/12/2011)


    Brandie Tarvin (4/12/2011)


    I think this cursor suits Stefan's needs best.

    DECLARE OMG_NotAnotherCursor CURSOR GLOBAL_SCREAM BACKWARD_FACING

    STATIC_THE_SUPERHERO PESSIMISTIC DB_LOCKDOWN

    FOR

    SELECT Superpower

    FROM dbo.JusticeLeague

    WHERE SupType = 'Lightning'

    OPEN OMG_NotAnotherCursor

    FETCH LAST FROM OMG_NotAnotherCursor

    ...

  • RE: Command timeout from .net application

    You probably didn't see my edited comment.

    Check the Server / Instance's "remote query timeout" property. This can be found by right-clicking the server\instance name, navigating to Properties, the clicking on...

  • RE: Command timeout from .net application

    This .net application, is it making a Web Service call or is it a direct programmed connection string?

    Is there a firewall between the PC this app runs on and the...

  • RE: Are the posted questions getting worse?

    I think this cursor suits Stefan's needs best.

    DECLARE OMG_NotAnotherCursor CURSOR GLOBAL_SCREAM BACKWARD_FACING

    STATIC_THE_SUPERHERO PESSIMISTIC DB_LOCKDOWN

    FOR

    SELECT Superpower

    FROM dbo.JusticeLeague

    WHERE SupType = 'Lightning'

    OPEN OMG_NotAnotherCursor

    FETCH LAST FROM OMG_NotAnotherCursor

    INTO @WhatsThisVariableForAgain

    WHILE...

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (4/11/2011)


    GilaMonster (4/11/2011)


    Stefan Krzywicki (4/11/2011)


    Believe me, I don't want to be using a cursor, but it is part of production code and every time I mention changing it to...

  • RE: Today's Random Word!

    Peter Trast (4/11/2011)


    Brandie Tarvin (4/11/2011)


    Scope creep.

    (and, lemme tell you, Mr. Scope is definitely creepy. @=)

    Is it possible to stop?

    Sure it is. Just remove everyone's system access. Then they can't give...

  • RE: Today's Random Word!

    Scope creep.

    (and, lemme tell you, Mr. Scope is definitely creepy. @=)

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (4/11/2011)


    Happy Monday. :hehe:

    HA! As if.

    Cluster down again. Much scrambling to get things working before the BU showed up.

    Does it count as murder if...

  • RE: Creating Delimited Strings

    That's what I figured. But fortunately, that's not a problem for me today.

  • RE: Creating Delimited Strings

    Jeff Moden (4/7/2011)


    Brandie Tarvin (4/7/2011)


    Well, that was harder than it needed to be. And the solution is easier than I expected. Now I just have to replace my field values...

  • RE: Creating Delimited Strings

    My only issue with sorting was making sure I didn't have two copies of the same record with the errors flipped (Ship Date; Sale Date vs Sale Date; Ship Date)....

  • RE: Creating Delimited Strings

    Update from the front. I have replaced my multiple inserts with an UNPIVOT. Rather than compare 15 different columns as listed above, I've done the following:

    ALTER TABLE DT.Staging

    ADD...

Viewing 15 posts - 6,091 through 6,105 (of 9,707 total)