Forum Replies Created

Viewing 15 posts - 136 through 150 (of 190 total)

  • RE: Updates first or Inserts first?

    Jeffrey Williams (7/20/2009)


    I would handle it using transactions. Whether that was in a try/catch block or not would depend on what was being done.

    That sounds about right. I'm thinking...

  • RE: Updates first or Inserts first?

    Jeffrey,

    Thanks for the response.

    After reading your comment, its true updating just inserted fresh data based on logic of the table its being inserted in would be a waste of system...

  • RE: show column data as rows

    Dude...out of context... but is that Zidane doing the head-butt on your avatar? :hehe:

  • RE: show column data as rows

    I'm not exactly sure of what your requirements are, but it seems UNION would help you out in constructing your query.

  • RE: Intersect, Except, Union, All and Any

    Even though I still use my left and inner joins...

    I think EXCEPT & Intersect are very nice. It's so much easier to explain data to some one who is not...

  • RE: Insert into multiple tables

    I'd like to thank Grant and everybody else that contributed to this topic.

    However, I chose a different route from the various above mentioned solutions, OUTPUT clause being the definite...

  • RE: Insert into multiple tables

    Grant,

    I think i'm missing something here. OKAY I do have key values... and thats what I use to join..

    but.....

    the child table does not have the key values.. because it does...

  • RE: Insert into multiple tables

    Okay, I actually got excited a little earlier than I should have gotten.

    OUTPUT clause it seems will benefit only in a situation where there is a ONE-to-ONE relationship between the...

  • RE: Insert into multiple tables

    Grant,

    Just thought I'd update you and everyone else here that I was successful with the OUTPUT clause. It actually is easy to implement.

    I have all the fintproductid's in my...

  • RE: Insert into multiple tables

    Grant,

    Thanks! I believe you're right. I guess I'm scared of using the OUTPUT clause because I have so much currently going on in my sproc, that i'd hate to delete...

  • RE: Insert into multiple tables

    Raj,

    That definitely came to my mind as well. The use of triggers to do multiple inserts. However, as far as query performance and efficiency is concerned, would this be effected...

  • RE: Is This The Best Way to Remove Duplicate Records ?

    ifila,

    I just recently used the MS KB you pointed out at the beginning of the your post. I would say it was a very straight forward process by just putting...

  • RE: Insert into multiple tables

    Mahesh,

    The problem is that I have no connection between the tblproduct and tblproductsizewidthcolor tables. Now in order for me to do the insert, I have to verify again, because if...

  • RE: Insert into multiple tables

    Grant,

    Thank you for the advice. I actually did take a look at the OUTPUT clause on BOL. I too think it is what I need but wasn't sure. I...

  • RE: LEFT OUTER JOIN

    river (7/13/2009)


    Hi,

    The command "LEFT OUTER JOIN" does not work in SQL Server 2005.

    I can replace it for LEFT JOIN.

    ....:w00t::-):w00t::-):w00t::-):w00t:

Viewing 15 posts - 136 through 150 (of 190 total)