Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy linked tables local??

Status
Not open for further replies.

sparkbyte

Technical User
Joined
Sep 20, 2002
Messages
879
Location
US
Anyone have a way to copy linked tables to a local MDB from MS SQL Server? (preferrably without moving all data in the tables).

I need a way to create an empty copy of a Access Application, problem is that about a 3rd the tables are linked. Mostly on a SQL server and a few are in other Access databases.

How may I accomplish this?????




Thanks

John Fuhrman
 
use this code
Code:
SELECT [i]linkedtablename[/i].* INTO [i]localtablename[/i].* 
FROM [i]linkedtablename[/i].* 
WHERE 1<>1
 
This will make an empty copy of the linked table
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top