G
Guest
Hallo Everyone
I am trying to insert and update information from one table to another. In Oracle the following works, does anyone know how I can do this in Access 2000
Nigel..
UPDATE table1 t_alias1
SET column =
(SELECT expr
FROM table2 t_alias2
WHERE t_alias1.column = t_alias2.column);
INSERT INTO Sync_Table1 (
Table1_ID(Content, Last_Edited, UniqueStr, Del
) VALUES
SELECT Table1_ID ,Content ,Last_Edited ,UniqueStr ,Del
FROM Sync_Table2 S WHERE NOT S.UniqueStr IN (Select UniqueStr From Sync_Table1
I am trying to insert and update information from one table to another. In Oracle the following works, does anyone know how I can do this in Access 2000
Nigel..
UPDATE table1 t_alias1
SET column =
(SELECT expr
FROM table2 t_alias2
WHERE t_alias1.column = t_alias2.column);
INSERT INTO Sync_Table1 (
Table1_ID(Content, Last_Edited, UniqueStr, Del
) VALUES
SELECT Table1_ID ,Content ,Last_Edited ,UniqueStr ,Del
FROM Sync_Table2 S WHERE NOT S.UniqueStr IN (Select UniqueStr From Sync_Table1