>I have identical table structures in two databases, one on a client side and
>the other on the server side. I want to run an asp query that will take all
[quoted text clipped - 8 lines]
>
>Thanks
An APpend query will do the trick here:
INSERT INTO hosttable
SELECT ([field], [field], [field], ...)
FROM localtable;
John W. Vinson[MVP]
Dave - 31 Aug 2005 01:26 GMT
Can this be:
INSERT INTO hosttable
SELECT *
FROM localtable;
Do I need to reference the database name or is that handled by the recordset
connection?
Thanks
>>I have identical table structures in two databases, one on a client side
>>and
[quoted text clipped - 19 lines]
>
> John W. Vinson[MVP]
John Vinson - 31 Aug 2005 20:04 GMT
>Can this be:
>
[quoted text clipped - 4 lines]
>Do I need to reference the database name or is that handled by the recordset
>connection?
Either way. If you've used ODBC or Tools... Get External Data... Link
to link to an external table, that linked table can be used in very
much the same way as a local table; or you can use the IN operator in
the SQL statement to dynamically link to a connected table.
John W. Vinson[MVP]