If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Import/Export

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-04, 08:25
Grenzer Grenzer is offline
Registered User
 
Join Date: Oct 2004
Posts: 2
Import/Export

Hello... Iam still a newbie in SQL but have to learn it anyway (as fast as possible tbh)

Are there any SQL Commands for exporting a table from an access db and import it into another existing access db?

Cheers
Grenzer
Reply With Quote
  #2 (permalink)  
Old 10-10-04, 12:52
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
look under the File item on the main menu, and choose either
- Get External Data > Import
- SaveAs/Export
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 10-10-04, 14:23
Grenzer Grenzer is offline
Registered User
 
Join Date: Oct 2004
Posts: 2
Thatīs the way Iam doin it in access.

Iam running an ASP page and want to import a table of one access database into my existing database. I dont want to download the complete database, edit and upload it again. What I wanna do is to add a SQL command my ASP page which would do this export/import!
Reply With Quote
  #4 (permalink)  
Old 10-10-04, 16:24
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
try this:

insert into database1.tableX (col1, col2, col3)
select expr1, expr2, expr3 from database2.tableY
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On