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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAKE TABLE INTO FROM DB A INTO DB B

Status
Not open for further replies.

jadams0173

Technical User
Feb 18, 2005
1,210
After lots of head banging I'm stuck once again. I'm trying to run a make table query in access, with an unlinked SQL table and insert the new table into another access db.

With the following if I do show tables I can see all the tables on the server. I chose my table and select the fields. When I run the query I get prompted for a paramater and I don't know why. If I make it a regular select query I still get prompted and if I press ok I get the a table structure with no data but all the records in the table.

Code:
SELECT dbo.V_BOM.PARENT INTO TEST IN 'c:\temp\db1.mdb'
FROM dbo.V_BOM IN '' [ODBC;DSN=CLT;Server=SQL1\P1;Database=EXTRACT;Trusted_Connection=yes];
 
I finally found the answer....thanks all!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top