Unix Technical Forum

How to create Link Server ODBC DBase

This is a discussion on How to create Link Server ODBC DBase within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi, I tried a lot of things to connect a linked server to an ODBC for dBase IV and ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 10:02 PM
=?Utf-8?B?RGF2aWQgUGFyZW50ZWF1?=
 
Posts: n/a
Default How to create Link Server ODBC DBase

Hi,

I tried a lot of things to connect a linked server to an ODBC for dBase IV
and I didn't get any successfull result. I have the path, the files names and
sysadmin access to my SQL server. I got a lot confused on all connection
string that news group use to connect to an ODBC for dBase. Does someone can
help me creating my Linked Server or tell me a link or doc that explain it
carefully?

Here is my last try:

EXEC master.dbo.sp_addlinkedserver @server = @LinkedServerName,
@srvproduct=N'Haha', @provider=N'Microsoft.Jet.OLEDB.4.0',
@datasrc=N'eTimeDB', @provstr=N'Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=S:\DBFFiles;Extended Properties=dBase IV;User ID=Admin; Password=;'

but this doesn't work:

select * from
OPENQUERY( ETimeODBC04, 'SELECT * FROM EMP')

Thanks a lot in advance.

David
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 10:02 PM
=?Utf-8?B?RGF2aWQgUGFyZW50ZWF1?=
 
Posts: n/a
Default RE: How to create Link Server ODBC DBase

I'm using a SQL Server 2005 server

"David Parenteau" wrote:

> Hi,
>
> I tried a lot of things to connect a linked server to an ODBC for dBase IV
> and I didn't get any successfull result. I have the path, the files names and
> sysadmin access to my SQL server. I got a lot confused on all connection
> string that news group use to connect to an ODBC for dBase. Does someone can
> help me creating my Linked Server or tell me a link or doc that explain it
> carefully?
>
> Here is my last try:
>
> EXEC master.dbo.sp_addlinkedserver @server = @LinkedServerName,
> @srvproduct=N'Haha', @provider=N'Microsoft.Jet.OLEDB.4.0',
> @datasrc=N'eTimeDB', @provstr=N'Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=S:\DBFFiles;Extended Properties=dBase IV;User ID=Admin; Password=;'
>
> but this doesn't work:
>
> select * from
> OPENQUERY( ETimeODBC04, 'SELECT * FROM EMP')
>
> Thanks a lot in advance.
>
> David

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com