Forum Replies Created

Viewing 15 posts - 7,201 through 7,215 (of 8,760 total)

  • RE: BCP queryout returns no records?

    Quick thought, there is something missing in the code, check that all variables are declared and initialized.

    😎

  • RE: xml

    Hi and welcome to the forum. Could you do us a favor and post a create table script and some sample data, makes it much easier to answer your question.

    😎

  • RE: TVP

    Nice question Stewart, thank you for this.

    😎

  • RE: Can you perform 3 actions in one trigger?

    crazy_new (9/3/2014)


    Just a quick scan, you have an update table, which is the same table I am deleting and inserting to, I cant update because there are no unique identifiers....

  • RE: populate missing dates and add 1 to column

    Did a quick little testing, see the results, DDL, data generator and test code below. Code also attached.

    Feel free to play around and improve 😉

    😎

    -----------------------------------------------------------------------------------

    Dense set: 1000000 (10000 customers x...

  • RE: SSIS won't "spread" data into new fields

    Koen Verbeeck (9/3/2014)


    Eirikur Eiriksson (9/2/2014)


    Quick thought, if the source structure is changed, the whole data pipeline (data flow path) has to be updated, including the destination definition.

    😎

    And even more important,...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (9/2/2014)


    AARRRGGGGGGG!!!!!!!!!!! Someone fire the man. He has no business in this business.

    Think that here is a proper use for a TERMINATOR:-D

    😎

  • RE: How do I write this code?

    Lynn Pettis (9/2/2014)


    Nope, I meant what I wrote; begininators. My term for the improper use of terminators at the beginning of statements. 😀

    Are you working for Skynet?

    😎

  • RE: SSIS won't "spread" data into new fields

    ppritts (9/2/2014)


    I had an SSIS Package that took data from a flat file and moved it into a SQL Server table. It was working OK, but I had to add...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (9/2/2014)


    GilaMonster (9/2/2014)


    "The inserted table only contains the rows inserted into the table. I need rows from other tables as well. Hence I can't use a set-based solution"

    Err.. ok...

    I...

  • RE: How do I write this code?

    😎

  • RE: Can you perform 3 actions in one trigger?

    crazy_new (9/2/2014)


    Just a quick question. In the inserted/deleted tables, does it contain all of the records of the last single transaction made? And if I use set based logic,...

  • RE: Are the posted questions getting worse?

    GilaMonster (9/2/2014)


    "The inserted table only contains the rows inserted into the table. I need rows from other tables as well. Hence I can't use a set-based solution"

    Err.. ok...

    As I said...

  • RE: Are the posted questions getting worse?

    Ed Wagner (9/2/2014)


    Eirikur Eiriksson (9/2/2014)


    Ed Wagner (9/2/2014)


    ...that was pretty simple stuff that should have been easy for him to troubleshoot on his own.

    I'm glad that optimism prevails:-D

    😎

    Thanks, but I guess...

  • RE: How do I write this code?

    Further on the previous solution, here is an executable sample

    😎

    USE tempdb;

    GO

    ;WITH BASE_DATA(NNAME,NGROUP) AS

    (SELECT NNAME,NGROUP FROM (VALUES

    ('Bill','Finance')

    ,('Nancy','Ops')

    ,('Bill','IT')

    ...

Viewing 15 posts - 7,201 through 7,215 (of 8,760 total)