[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Porting from MS Access 97 to MS SQL server ?

Hi

I am currently using an MS Access 97 database as front end as well as back end and I would like to port the entire back end to SQL server with MS Access 97 as front end.I would like to know as to how smooth this transition phase would be and what all problems will be faced when porting to an SQL server.

My database supports mission critical applications related to internet and loss of any kind of data at this juncture due to porting would be unjustifiable.

Also, is it viable to have SQL server on an NT workstation or on an NT server.
 
I would appreciate help on this regard.

Cheers,
explorer

0
explorer007
Asked:
explorer007
1 Solution
 
Jon_RaymondCommented:
As always you should backup the data before doing anything, just in case.  But, there is no reason to expect any data loss.  I suppose you are using the upsizing wizard in Access.  This just places all the table data into similar SQL server tables.

As to the NT Server versus Workstation.  It will fuction on either system.  This is really an NT issue.  I believe NT Server is configured to perform better as a server, while Workstation is not.  For example, the Workstation will give more memory to desktop applications, whereas the Server will boost performance for the server running in the background.  You should check with the NT experts on this for more detail.
0
 
Jon_RaymondCommented:
The upsizing wizard while also make the SQL Server tables into linked Access tables.  So, as far as Access is concerned nothing has really changed.  The tables are just linked now instead of residing in the Access database.

However, this is not an optimal setup.  If you need Access to remain as a front end it would be optimal to change any queries you have into Pass Through queries that run SQL Server stored procedures.  In those stored procedures is where the actual query SQL should be.

Now this is an opinionated comment, though I think there are many who will agree.

SQL Server has the advantage of being able to run the queries on the server machine, while Access runs them on the client machine.  Since, the tables are now LINKED this means that data will be transferred back and forth accross your connection while the queries do what they do.  On the other hand, SQL Server stored procedures do it all on the Server system and sent the results to the client system over the connection.  This is much faster.  For one thing, with linked tables you are retrieving all the columns, where using a pass through query you retrieve just what you queried for.

Of course, if you're not ready to program the stored procedures (which the upsizing wizard does not do) then leaving the Access queries with linked tables will work, it's just not optimum.

Cheers
0
 
highmarksCommented:
Hi!
Follow this steps and u r through.
All microsoft products goes very much hand to hand.
If u r using all microsoft products u will never face any problem.
First backup .mdb file somewhere and then oepn your enterprise manager and use the import wizard to import access to SQL-Server.
The problem u can face after importing is in datatypes (for e.g. if in access if datatype is yes/no then in SQL-Server it will be binary so change it to char(1) )
So only care u will have to take is check all the datatypes after importing and change appropiately.
The queries to be executed will totally depend on SQL-Server and not according to access standards.

If any problem feel free to contact.
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
dtomynCommented:
highmarks,
Please note that if someone else has entered in detailed comments to not lock the question with your own "answer". I think you will find that over time  you will be pissing off a lot of experts if you continue to do this (that is, claiming that your answer is better than all previously posted comments).

IMHO
0
 
explorer007Author Commented:
Highmarks ,
The problem is not only of porting the entire MS Access 97 database to SQL - Server but also porting the front end which has been developed using MS Access.It would take a lot of front end changes to do the same.

Porting the backend will probably will not be tedious, but porting link tables from MS Access to SQL Server would cause some hassles.

I will be doing the porting in a days time and will then evaluate the answer.
In any case.. the answer presented is not fully furnished with overall details
Thanx anyway
0
 
Jon_RaymondCommented:
Normally when someone refers to a backend, I think of this as the data tables.  So, I'm not sure what you mean by porting link tables.  SQL Server can, and should, store all your tables and your queries.  But if you have any forms or reports in Access they will have to remain in Access, unless you want to program some other front end app.

So, you have some decisions to make.  What goes in the front end and what goes in the back end.  Since, you are using the internet as the location of some of your front end, I don't see a need for Access there.  You can link to SQL Server directly form ASP or Java pages.  I hope you're not going to link from your internet front end to Access, which in turn must link to SQL Server.  Everytime you make a link, you are causing your users valuable connection time (how long will these apps take to load?).  There are different ways to do this, so it's hard to give you details if you don't give us details on exactly what you want.  

Not that I'm being defensive.  But, I think we've given you as much detail as we can based on the information.  Most of the how-to stuff is in Access and SQL Server help or Books Online (and ASP, Java, HTML..), and the volume of that information is extensive.  Just as this note is in trying to cover a few more of the bases.  So, I see our role as pointing you in a direction, or offering some alternatives as far as a basic structure or methods.  However, if you find you need more specific advice after you get started, this is a good place to get it too.

Cheers
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now