Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 17th, 2006, 09:53 AM
krishreddy krishreddy is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 4 krishreddy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 12 sec
Reputation Power: 0
How to establish link between SQL Server and MS Access

hi guys,

I have MS Access on one machine and SQL Server on another machine. (both are present on different machines). My doubt is
1) I just want to know the procedure how to establish connection or link between the SQL Server and MS Access.

2) What can be used other than ODBC for establishing connection or link between the SQL Server and MS Access.

Cud anyone fwd me the related articles to my problem?

Plz help me

cheers
krish reddy

Reply With Quote
  #2  
Old July 22nd, 2006, 02:03 PM
som_dutt som_dutt is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 12 som_dutt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 56 m 5 sec
Reputation Power: 0
Hi Reddy!

You can add a Access database to a SQL Server database. Following steps are -

(1) Open EM.
(2) Goto the Server to which you want to add it as linked server.
(3) Then goto security > Linked Servers section from console tree.
(4) Right click on the Client area. Then New Linked Server.
(5) Give a name and Specify Microsoft Jet 4.0 as Provider string.
(6) Prvide the location of the MDB file.
(7) Click OK.

-- OR --
Issue this statement in QA of SQL Server-

EXEC sp_addlinkedserver @server = 'DBName', @provider = 'Microsoft.Jet.OLEDB.4.0', @srvproduct = 'OLE DB Provider for Jet', @datasrc = 'C:\MSOffice\Access\Samples\Northwind.mdb'

You have added it as linked server now. Then, use full qualified name to issue your statements.

For ODBC connection mail me at - sqldba4u@yahoo.com.

- Som Dutt
http://somdutt.blogpsot.com

Reply With Quote
  #3  
Old May 9th, 2007, 04:38 AM
eyadmh eyadmh is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 1 eyadmh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 42 sec
Reputation Power: 0
create linkes Server to MS Access mdb

Hello,

my question is if i have a password on this mdb file (Access data base) how can i deal with this in SQL Server

where to put this password and user Id of the MS Access?

thanx








Quote:
Originally Posted by som_dutt
Hi Reddy!

You can add a Access database to a SQL Server database. Following steps are -

(1) Open EM.
(2) Goto the Server to which you want to add it as linked server.
(3) Then goto security > Linked Servers section from console tree.
(4) Right click on the Client area. Then New Linked Server.
(5) Give a name and Specify Microsoft Jet 4.0 as Provider string.
(6) Prvide the location of the MDB file.
(7) Click OK.

-- OR --
Issue this statement in QA of SQL Server-

EXEC sp_addlinkedserver @server = 'DBName', @provider = 'Microsoft.Jet.OLEDB.4.0', @srvproduct = 'OLE DB Provider for Jet', @datasrc = 'C:\MSOffice\Access\Samples\Northwind.mdb'

You have added it as linked server now. Then, use full qualified name to issue your statements.

For ODBC connection mail me at - URL.

- Som Dutt
URL

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > How to establish link between SQL Server and MS Access


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap