update from

  • What is the different this queries ?

    update table1

    set table1.a = table2.b

    from table2

    where table1.c=table2.c

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

    update table1

    set table1.a = table2.b

    from table1 t1 inner join table2 t2

    on t1.c = t2.c

    thanks?

  • The wording. They should do the same thing.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • the result is the same

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply