Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 3 of 3 total |
Update with JOIN |
Wed, Nov 28 2018 7:27 AM | Permanent Link |
Jose Eduardo Helminsky HPro Informatica | Hi
I used to work with DBISAM and there is UPDATE with JOIN. update table1 set field1=table2.field3, field2=table2.field4 from table1 inner join table2 on (table1.field1 = table2.field1) In ElevateDB AFAIK there is not. I am using the following statement: update table1 set (field1,field2) = (select field3,field4 from table2 where table1.field1=table2.field1) where field1 in (select field1 from table2) My question: This is right ? Is there another way ? Thanks in advance Eduardo |
Wed, Nov 28 2018 10:44 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Jose
Looks right to me. I don't think there is another way (apart from Delphi). Roy Lambert |
Mon, Dec 10 2018 3:45 AM | Permanent Link |
Jose Eduardo Helminsky HPro Informatica | Roy
<< Looks right to me. I don't think there is another way (apart from Delphi). >> Thanks for the feed back and sorry for delay the answer Eduardo |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |