|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Copying records from one database to another
Hi!
How can I copy records from tbl1 to tbl2 when the record exists on tbl1 but not on tbl2? |
|
#2
|
|||
|
|||
|
INSERT INTO Table2( Field1, Field2)
SELECT Table1.FIeld1, Table1.Field2 FROM Table2 RIGHT JOIN Table1 ON Table2.Field1 = Table1.Field1 WHERE (((Table2.Field1) Is Null)); S- |
|
#3
|
|||
|
|||
|
What if tbl2 is on a different database file?
|
|
#4
|
|||
|
|||
|
If it is an MS Access or any other database you can link to through ODBC drivers and link that table to you Access DB.
S- |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Copying records from one database to another |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|