General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>UPDATE table1
>SET table1.field1 = table2.field2
>WHERE table1.key = table2.key
>
>So how do I do this?
>-Michelle
You can accomplish this by relating the two tables and then doing a replace...
select 0
use Table2
set order to tag PrimaryKey
select 0
use Table1
set relation to table1.key into table2
replace all table1.field1 with table2.field2
close all
BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only