Mark CHP IMD said:
Has anyone moved the back end (if you're using client/server) of an
Access database to SQL Server? I am looking to find out how much
coding is involved in creating the stored procedures and other
functionality that's required in SQL Server. The database is about 15
megs front end, 3 megs backend (no data). The idea is to 'thin' out
the front end and enable less demand on the bandwidth. What is the
process to move to SQL server and away from the Access mdb backend?
You can use the Upsizing Wizard to make a start on the job, but what
remains can be a big or a small job, depending on how your front-end is
built. Make sure, before you begin the upsizing process, that all your
tables have primary keys. If you use a lot of VBA functions in your
queries, whether those built-in functions or user-written ones, then
you're going to have to do a lot of work in SQL Server to match that
functionality, or else Access will have to pull all the data from the
tables across the network to perform the functions locally, and that
will lose any gains you might have hoped to gain by upsizing. On the
other hand, where your queries are simple and don't use VBA functions,
you may find that Access sends the query straight to SQL Server for
execution and just brings back the result set.
In addition to the basic changes your application may require to make it
work acceptably with a SQL Server back-end, if you want to reduce
network traffic you'll probably need to redesign some forms and
operations so that they fall more in line with the client/server way of
doing things. For example, where before you might have had a form with
a recordsource that brought back all records from a table, you'll
probably want to prompt the user first for which record she wants to
see, and then set the form's recordsource to bring back just that
record. The overall design is going to be a balance between providing
the user-interface functionality that is convenient to your users, and
reducing the demands on the network. You'll find the use of SQL
Profiler (which comes with most but not all installations of SQL Server,
IIRC) to be invaluable in tuning your application.
The whole upsizing process can be simple or hard, depending on the
current design of your application.