Re: Should I worry that my Access to SQL conversion has gone so well?



No worry, it really is that simple to do the conversion but simply
converting a typical Access application to use SQL Server (or other RDBMS)
tables will not engender any performance improvements and may in fact be
slower than the original Access/Jet database.

To gain performance improvements, you need to make the fe take advantage of
having a real server as the be. To do that, all forms/reports must be based
on queries that have selection criteria to drastically reduce the data
retrieved from the server. You can use the where argument of the OpenForm
or OpenReport method to restrict the data retrieved from the server or use a
where clause with parameter in the form's RecordSource. But filters, which
are frequently used in native Jet applications, are applied locally and
require the entire table to be retrieved from the server. So, filters are
almost never used when the data is in a non-Jet back end.

You also need to be careful about where you use user defined or VBA
functions in your queries. Jet attempts to send all queries to the server
for processing but certain things prevent that and one of them is using
functions in the where clause that have no SQL equivalents. This causes Jet
to ask the server to return ALL rows from the table so that Jet can apply
the criteria with the function locally.

There are articles in the KB and/or MSDN library that discuss client/server
optimization for Access. That will give you some ideas on what you should
change. But you won't need anything close to 6 months to complete this
task.

"Bobby" <bobby2@xxxxxxxxxxxxxxxx> wrote in message
news:1154441774.158154.132940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I've been set the task of converting a 20 user Access 2003 database to
SQL server 2000.

The original access version is two databases, a front end and a back
end. The front end uses about 40 forms. Without using the upsizing
wizard, I have simply imported the backend into SQL, made a few changes

to data types, and set a few primary keys etc., and then linked the
front end to the SQL database using ODBC.

The two main issues I have encountered are 1) poor performance due to
various counts and sums in fields on forms, (so I have removed these or

found work arounds) and 2) I have a sub form which uses an access query

with two tables. In Access the sub form will allow me to add new items,

but in SQL it won't. I'm not sure why yet, but can probably find a work

around to this. Any suggestions would be gratefully received.

Now that I have resolved issue 1 (above) everything seems nice and fast

(certainly no slower than the access version was), and although I still

have a lot more testing to complete, my 6 month project seems to have
been almost completed in a week.

Should I be worried??? It seems too easy. Have I gained anything my
moving from an Access back end to SQL in this way? Before I started I
was given all kinds of dire warnings about having to re-write my front
end in VB.NET. Why was it so easy??? Something nasty must be waiting
around the corner. Any suggestions what it might be?


Bobby



.



Relevant Pages

  • Re: Use DAO or ADO?
    ... SQL Server is more popular than Jet. ... real world of development, Dot Net", ADO has been superceded by ADO.NET ...
    (comp.databases.ms-access)
  • Re: MS Access database to gradually become a server based database - which one ?
    ... Server 2008 Express Edition. ... SQL server is indeed a high performance system, and also a system that can ... Before Microsoft started "really" selling sql server, they rated JET could ... (this ONLY applies to odbc to sql server...you CAN and are FREE to do this ...
    (microsoft.public.access.gettingstarted)
  • RE: Fulltext failure on a 2 node cluster
    ... Server full-text search resource online: "SQL Cluster Resource 'Full Text' ...
    (microsoft.public.sqlserver.clustering)
  • Re: HELP PLEASE ~ ???
    ... You mentioned that it went ahead and added a SQL ... SQL Server 2000 database for all my data. ... find the connectionString in the newly recreated SQLExpress database. ... The connection string specifies a local Sql Server Express instance ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Merge replicating a JET backend
    ... Server 2K service packs ago. ... though I suppose we won't be able to move to SQL Server ... Does anyone use SQL Server merge replication to Jet in practice? ... SQL Server 2K database push merge replication to shared Jet ...
    (microsoft.public.sqlserver.replication)