bh_rai
10-17-2004, 01:22 PM
Hi
I would like to export data from a SQL Server table to .DBF File.
I tried the Following Code
con.Execute "SELECT * INTO [dBase IV;DATABASE=C:\Test].[testb] FROM [Authors]"
Con is ADO connection to an SQL Server.Pubs database is used for test purpose.
But it doesnt work and comes out with message saying 'specifying owner does not exists' etc.I just have a C:\Test directory.
However similar code works fine when the connection is to an Access database .The .dbf file is properly created.
Can some one point out if there is something wroing in this quey or give me an alternative way of exporting SQL table to .dbf file.
Thanx in advance
I would like to export data from a SQL Server table to .DBF File.
I tried the Following Code
con.Execute "SELECT * INTO [dBase IV;DATABASE=C:\Test].[testb] FROM [Authors]"
Con is ADO connection to an SQL Server.Pubs database is used for test purpose.
But it doesnt work and comes out with message saying 'specifying owner does not exists' etc.I just have a C:\Test directory.
However similar code works fine when the connection is to an Access database .The .dbf file is properly created.
Can some one point out if there is something wroing in this quey or give me an alternative way of exporting SQL table to .dbf file.
Thanx in advance