Re: SQL-Server nach dBase

From: Douglas Laudenschlager [MS] (douglasl_at_online.microsoft.com)
Date: 07/08/04


Date: Thu, 8 Jul 2004 13:19:33 -0700

The syntax that you are using is supported only by the Microsoft Jet OLE DB
Provider. Although you do not show us your connection code, I suspect that
you are using SQLClient or SQLOLEDB. If you want to use this syntax of the
Jet Provider, the easiest solution would be to create an Access database
that contains your SQL Server View as a "linked table," then use the Jet
Provider to connect to the Access database and export the data from SQL to
dBase.

Another solution would be to create your dBase file as a "linked server" in
SQL Server, then use SQL syntax over a SQLClient connection to SELECT INTO
the linked server.

As the Jet ISAM drivers all behave in a similar manner, you can search the
Knowledge Base for how-to articles about the more frequently used ISAM
drivers (especially for Excel), and much of that information will also be
true of the dBase driver.

-Doug

"news.bluewin.ch" <daniel.zinniker@bluewin.ch> wrote in message
news:O9RgeIeXEHA.4092@TK2MSFTNGP11.phx.gbl...
> Hallo NG
>
> ich habe ein Problem mit einem Datenexport.
> Ich verwendet einen SQL-Server und habe einen View welcher die zu
> exportierenden Daten enthält.
>
> Wie kann ich am einfachsten eine dbf-Datei mit dem gesammten Inhalt der
View
> erstellen ?
>
> Folgender ansatz hat leider fehlgelschlagen:
> cmd.Connection.Open();
>
> cmd.CommandText="SELECT * INTO export IN 'e:\\' 'dBase III;' FROM
> tm_exportdata ";
>
> cmd.ExecuteNonQuery();
>
> cmd.Connection.Close();
>
>



Relevant Pages

  • Re: CREATE TEMPORARY TABLE
    ... suggestions that this syntax relates to SQL Server or an ADP. ... CREATE TABLE, or any of the DDL statements, with non-Microsoft Jet ... for non-Jet engine databases. ... The syntax includes WITH COMPRESSION which only applies to Jet ...
    (microsoft.public.access.tablesdbdesign)
  • Re: linked tables
    ... > Microsoft OLE DB Provider for ODBC Drivers ... then access the Jet table with a 4-part name ... provider, instead of the one for Jet. ... table defined in the Access database which is linked to a SQL Server ...
    (microsoft.public.vb.database.ado)
  • Re: HELP! UPDATE syntax that work in sql server and access vba
    ... When you are working with Access ODBC linked tables, you must use the JET ... You should ask in a newsgroup about queries under Access how to ... In sql server I use syntax as follow: ... I also tried the following syntax in access query: ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Better "Join" vs "Where" clause?
    ... The result differs even among Jet versions: ... With Jet 3.5, you got no record, but with MS SQL Server, ... All of my attempts to use that syntax in Jet had failed ... I know about the different update/delete syntax - I thought we were ...
    (microsoft.public.access.queries)
  • Re: syntax for calling Query with parameter from VB
    ... I am aware of the CREATE PROCEDURE syntax in JET. ... I noted that the O.P. was using DAO code which doesn't ... The SQL Server T-SQL equivalents ...
    (microsoft.public.access.modulesdaovba)

Loading