Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Linked server

 
   Database Help (Home) -> Programming RSS
Next:  View question  
Author Message
Robert Bravery

External


Since: Oct 01, 2004
Posts: 43



(Msg. 1) Posted: Sat Jan 20, 2007 9:51 pm
Post subject: Linked server
Archived from groups: microsoft>public>sqlserver>programming (more info?)

HI,

Is there a way to create a linked server to dbase files.
I need to be able to import data from dbase files on a regular basis, once
the data has been imported it then needs to go through a verification and
transformation, then finally imported to the correct table.
I thought of using DTS, but have heard that it is slow. Then sombody
mentioned linked servers.

But if htat does not work, does any one have any other sugestions that I can
persue

Thanks
Robert

 >> Stay informed about: Linked server 
Back to top
Login to vote
Hari Prasad

External


Since: Dec 28, 2003
Posts: 223



(Msg. 2) Posted: Sat Jan 20, 2007 9:51 pm
Post subject: Re: Linked server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, it is possible. Take a look into the old archive.

http://groups.google.com/group/microsoft.public.sqlserver.programming/...wse_frm

Thanks
Hari

"Robert Bravery" wrote in message

> HI,
>
> Is there a way to create a linked server to dbase files.
> I need to be able to import data from dbase files on a regular basis, once
> the data has been imported it then needs to go through a verification and
> transformation, then finally imported to the correct table.
> I thought of using DTS, but have heard that it is slow. Then sombody
> mentioned linked servers.
>
> But if htat does not work, does any one have any other sugestions that I
> can
> persue
>
> Thanks
> Robert
>
>

 >> Stay informed about: Linked server 
Back to top
Login to vote
Robert Bravery

External


Since: Oct 01, 2004
Posts: 43



(Msg. 3) Posted: Sun Jan 21, 2007 7:53 am
Post subject: Re: Linked server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HI,
Thanks for this.
I got a error when
SELECT * FROM DBFs...motclm02
The error was:

Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.
I figure it must be a driver related.
I have successfully opened with openrowset as:

SELECT COM, ICODE1, ICODE2, ICODE3, ICODE4, ASSCOD, INSREF, CATCOD, BAR,
BRK, CLS, NUM, IYR, DET, DOL, DREP, STATUS, DFIN, DRV, VEH, REG,
PERIL, RESOURCE, CAUSE, FAULT, MD, MEA, BI, TPFN, OTFN, EST1ST, LEGAL,
OTHER, REC, RECPD, SAL, ASSZR, ASSIN, UXSOD, UXSTP, UXSOT,
OXSOD, OXSTP, OXSOT, OATYPE, PXSOD, PXSTP, PXSOT, BPCODE, BPNUM, TOT, UXSD,
UXST, UXSO, OXSD, OXST, OXSO, PXSD, PXST, PXSO, ZR1,
NOT1, INSGRP, INSPOL, UNS, ZR1TOT, ZRATOT, NOTTOT, CCODE1, CCODE2, CCODE3,
CCODE4, VAT, VATASS, VATTOT, VATATOT, BORDCODE,
AUTH_BY, MOD_BY, LAST_MOD
FROM OPENROWSET('MSDASQL', 'Driver={Microsoft dBase Driver
(*.dbf)};DBQ=C:\Work\MRG\Motor\', 'Select * from motclm02.dbf') AS motor

Could you perhaps relate how I would use linked server using the above
drivers. I am uncertain as to how to set that up

Thanks
Robert

"Hari Prasad" wrote in message

> Yes, it is possible. Take a look into the old archive.
>
>
http://groups.google.com/group/microsoft.public.sqlserver.programming/...wse_frm
>
> Thanks
> Hari
>
> "Robert Bravery" wrote in message
>
> > HI,
> >
> > Is there a way to create a linked server to dbase files.
> > I need to be able to import data from dbase files on a regular basis,
once
> > the data has been imported it then needs to go through a verification
and
> > transformation, then finally imported to the correct table.
> > I thought of using DTS, but have heard that it is slow. Then sombody
> > mentioned linked servers.
> >
> > But if htat does not work, does any one have any other sugestions that I
> > can
> > persue
> >
> > Thanks
> > Robert
> >
> >
>
>
 >> Stay informed about: Linked server 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Self Linked Server - Hi, I am setting up a linked server on my local SQL server 2000 development machine. The server is linking to itself and I am setting this up soley for learning purposes. I first used the command Exec sp_addlinkedserver @server='link' ,..

linked server dynamic SQL help - declare @var varchar(50) select @var='ServerA' select name from @var.master.dbo.sysobjects -- Need help here Right now its just one server but eventually i want to probably use a group of servers and kinda use a cursor.

Using a Linked Server in a query... - Hi there. Here's a question that I probably should know the answer to but.... Anyways: If I want to use Linked servers in some simple queries (select * from table...), do I need to have MSDTC running? In other words, do I need MSDTC even if I'm not..

Guidelines while using linked server. - Hi all, I am using linked server with select insert and update query. But these qeries are working very slowly. Can anyone tell me any solution to speed up execution of queries using linked server. Means can someone guide me in using linked server?....

Dynamic Linked Server - Hi All, Consider a situation. We are developing an application that will syncronize two databases hosted on two different physical server (Assume DBServer1 and DBServer2). Further assume DBServer1 is our base database and DBServer2 is added as linke...
   Database Help (Home) -> Programming All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]