RE: Stored Procedure to Connect a DBF File
From: Al (Al_at_discussions.microsoft.com)
Date: 10/22/04
- Next message: Hugo Kornelis: "Re: Database Design - Urgent!"
- Previous message: simon: "Re: Modify SP in sql2005"
- In reply to: Prabhat: "Stored Procedure to Connect a DBF File"
- Next in thread: Prabhat: "Re: Stored Procedure to Connect a DBF File"
- Reply: Prabhat: "Re: Stored Procedure to Connect a DBF File"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 22 Oct 2004 03:07:01 -0700
Hi,
i've never tried it, but you might be able to create a Linked Server to the
file, after setting up an ODBC connection to it. The stored procedure will
then be to query the Linked Server.
There are also the OPENROWSET and OPENDATASOURCE Transact-SQL commands,
which give you access to OLE DB datasources.
DTS gives you access to dBase, and might be suitable for what you want to
achieve.
"Prabhat" wrote:
> Hi All,
>
> Can I Connect to a DBF File and read the Records / Loop through the records
> of DBF file using / with in the Stored Procedure?
>
> Like in VB we Open as ADO Connection to Connect and a Recordset To Open etc.
>
> Thanks
> Prabhat
>
>
>
- Next message: Hugo Kornelis: "Re: Database Design - Urgent!"
- Previous message: simon: "Re: Modify SP in sql2005"
- In reply to: Prabhat: "Stored Procedure to Connect a DBF File"
- Next in thread: Prabhat: "Re: Stored Procedure to Connect a DBF File"
- Reply: Prabhat: "Re: Stored Procedure to Connect a DBF File"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|