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 > PC based Database Applications > Other PC Databases > Report How to JOIN tables from 2 databases in Visual FoxPro 7?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-13-09, 12:08
shadow14 shadow14 is offline
Registered User
 
Join Date: Mar 2009
Posts: 2
Report How to JOIN tables from 2 databases in Visual FoxPro 7?

Hello Friendly Friends, I badly need your help..

This is my problem, I have 2 databases(DB1, DB2) in a system.

How will I be able to link or join the tables from this 2 different database?

I need to import the data of the table(T2) in DB2 to the table(T2) of DB1..

Thanks..

P.S. I'm using Visual FoxPro Version 7.0
Reply With Quote
  #2 (permalink)  
Old 03-16-09, 05:25
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
SELECT - SQL Command
Code:
FROM [FORCE][DatabaseName!]Table [[AS] Local_Alias]
Quote:
DatabaseName!
Specifies the name of a non-current database containing the table. You must include the name of database containing the table if the database is not the current database. Include the exclamation point (!) delimiter after the database name and before the table name.
__________________
George
Twitter | Blog
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