Re: How do I created a query in Access that points to SQL Server 2000?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



woody wrote:
I have an access program, and I want to migrate the queries to SQL
Server 2000. I've already migrated the database and data over. I'm
not quite sure how to add a query in the Access form to point to SQL
Server. Any help is appreciated.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are you using an .adp or .mdb Access file type?

If an .mdb file type you can use SQL Pass Through (SPT) queries. Open a
new Query object in design view. Select Query > SQL Specific > Pass
Through. The view will change to the SQL view. Type in the SQL command
that does whatever you want. In the query's "ODBC Connect Str" property
(View > Properties) enter the ODBC connect string: either a DSN or a DSN
less connect string (see http://www.connectionstrings.com/).

If an .adp, just create a new view or stored procedure under the Queries
tab of the database window.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBRKLOAYechKqOuFEgEQIK8ACfedgTLdPbHMXUh+Af8hIDb5F0dQ0AoJ6Z
UZy+53NUdRJBDIkFb7OdR18y
=iR3h
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)
  • Re: complex filter and calculations in access
    ... switch to SQL view. ... query by switching to datasheet view, ... of your database using the from address in this post. ... pre-op infections yes/no ...
    (microsoft.public.access.queries)
  • Re: A little more meat this week
    ... implementation with a query processor capable of returning a result set ... then we can call it a result bag (SQL ... I'm looking at the data model and not database tools at this ... for a s/w developer and a s/w developer simplifies for the end user). ...
    (comp.databases.pick)
  • Re: complex filter and calculations in access
    ... when using a subquery on the same table as the main query, ... switch to SQL view. ... of your database using the from address in this post. ...
    (microsoft.public.access.queries)
  • Re: A little more meat this week
    ... said data includes lists." ... implementation with a query processor capable of returning a result set ... then we can call it a result bag (SQL ... I'm looking at the data model and not database tools at this ...
    (comp.databases.pick)