Forum Replies Created

Viewing 15 posts - 6,166 through 6,180 (of 9,399 total)

  • RE: The number of variables declared in the INTO list must match that of selected columns.

    Sorry, without having DDL, I just created a CTE to simulate the table. If you substitute it like Lynn did, you'll be all set.

  • RE: The number of variables declared in the INTO list must match that of selected columns.

    Just because I'm someone who doesn't like cursors, I feel compelled to offer an alternative.

    DECLARE @strSQL Varchar(MAX) = '';

    WITH FinalDBleverluser(dbname, username) AS (

    SELECT 'db1', 'user1' UNION ALL

    ...

  • RE: Today's Random Word!

    Revenant (4/28/2015)


    SQLRNNR (4/28/2015)


    TomThomson (4/27/2015)


    SQLRNNR (4/27/2015)


    marlin

    spike

    hall

    fame

    Fortune

  • RE: Today's Random Word!

    Eirikur Eiriksson (4/28/2015)


    crookj (4/28/2015)


    Ed Wagner (4/28/2015)


    djj (4/28/2015)


    Eirikur Eiriksson (4/27/2015)


    TomThomson (4/27/2015)


    SQLRNNR (4/27/2015)


    marlin

    spike

    Top

    Apex

    Predator

    Alien

    Immigrant

    Legal

  • RE: Today's Random Word!

    djj (4/28/2015)


    Eirikur Eiriksson (4/27/2015)


    TomThomson (4/27/2015)


    SQLRNNR (4/27/2015)


    marlin

    spike

    Top

    Apex

    Predator

  • RE: CTE Problem Redux

    With 87% getting it right at this point, that's encouraging. I guess I just took knowing that for granted and never gave it a second thought. It's always...

  • RE: Are the posted questions getting worse?

    SQLRNNR (4/27/2015)


    Lynn Pettis (4/27/2015)


    Ed Wagner (4/27/2015)


    Grant Fritchey (4/27/2015)


    Hey Steve! Where did you get pictures of my cousin?

    I never thought of you as having a strong feline side. 😀

    How many people...

  • RE: Today's Random Word!

    Eirikur Eiriksson (4/27/2015)


    eccentricDBA (4/27/2015)


    SQLRNNR (4/27/2015)


    marlin

    Brando (his fishy cousin)

    The horror

    The Pain

  • RE: Today's Random Word!

    djj (4/27/2015)


    Eirikur Eiriksson (4/27/2015)


    Ed Wagner (4/27/2015)


    Revenant (4/27/2015)


    TomThomson (4/27/2015)


    Eirikur Eiriksson (4/27/2015)


    Ed Wagner (4/27/2015)


    djj (4/27/2015)


    Copper

    Canyon

    Crossing

    Out

    Outhouse

    Doghouse

    Hut

    Pizza

    Wings

  • RE: Are the posted questions getting worse?

    Grant Fritchey (4/27/2015)


    Hey Steve! Where did you get pictures of my cousin?

    I never thought of you as having a strong feline side. 😀

  • RE: Query with 85 Columns

    neeraj-344433 (4/27/2015)


    It is a nightly ETL job. Once the data is loaded in the staging table, the process picks it up and loads into other system.

    That's the 16-hour run you...

  • RE: Query with 85 Columns

    You have a table with 85 columns and 3M rows. Do you need to query all of them every time?

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (4/27/2015)


    Lynn Pettis (4/27/2015)


    Ed Wagner (4/27/2015)


    Lynn Pettis (4/27/2015)


    Still finding it interesting that the only notifications I am getting are for old threads I am subscribed to but not the...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (4/27/2015)


    Still finding it interesting that the only notifications I am getting are for old threads I am subscribed to but not the ones I have recently subscribed to....

  • RE: Today's Random Word!

    Revenant (4/27/2015)


    TomThomson (4/27/2015)


    Eirikur Eiriksson (4/27/2015)


    Ed Wagner (4/27/2015)


    djj (4/27/2015)


    Copper

    Canyon

    Crossing

    Out

    Outhouse

    Doghouse

Viewing 15 posts - 6,166 through 6,180 (of 9,399 total)