Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append recors from an Access database to SQL7
Message
From
28/03/2001 12:06:19
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00488590
Message ID:
00489492
Views:
12
You have to use the OPENROWSET function
OPENROWSET('provider_name' 
    {
        'datasource';'user_id';'password' 
        | 'provider_string'
    }, 
    {
        [catalog.][schema.]object 
        | 'query'
    })
Exemple taken from MSDN
SELECT a.*

FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 
    'c:\MSOffice\Access\Samples\northwind.mdb';'admin';'mypwd', Orders) 
    AS a
Patrice Merineau
Previous
Reply
Map
View

Click here to load this message in the networking platform