Import Access 2002 data to SQL Server 2005 Express

Hi Experts,

I'm an amateur database developer working on an desktop database application intended for free distribution.  I have developed an application in Access 2002 VBA and would essentially like to start over using SQL Server 2005 Express and Visual Basic 2005 Express.  Before I can really start the new database project, however, I need to import numerous (25?) data tables from the existing Access 2002 application for use in SQL Server 2005 Express.  While it would be nice if the imported tables retained all of their data types, etc., I can reset all of that if I need to--I mainly want to avoid re-entering a fair bit of data within the tables.  I should mention that while I have quite a bit of experience with fairly complex queries in Access SQL, I have never used SQL for scripting (ie, creating databases, tables, etc.).

SQL Server 2005 Express does not seem to have an import feature, so I have considered the following two alternative means of proceeding; can anyone advise whether either alternative will work (or not work), or provide another solution?    The two ways are:  

1)  use the upsizing wizard in Access 2002 to create an SQL database, and then attach it to the SQL Server 2005 Express database.  Would this work?  If so, can the upsizing wizard be set to only upsize the tables (rather than all of the forms, modules, etc.)?  Would the tables then be integrated into the SQL Server 2005 Express DB file, or would they remain as seperate files (only really care about this to the extent that it would make distribution significantly more complex)?  

OR

2)  use the evaluation version of SQL Server 2005 (Standard edition), which I understand includes an import wizard, to import the data into SQL Server 2005 Express.  Note that I'm really only asking if this is technically possible, not about licensing issues (if my application turns out, I would get any necessary licenses before deploying).

Any other ideas?  Please be prepared for a couple of follow-up questions, because I am almost completely unfamiliar with SQL Server (reading the books now but can't do much until I can get my data imported...).

Thanks,

Tom
tmreiterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

adwisemanCommented:
Upsize only loads the tables from access to SQL server.  Access's upsize works very well.  That is what I would use, even if I had a standard or Dev version of SQL server 2005.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
imran_fastCommented:
Go for the second option create your database in sql 2005 evaluation edition take a backup and then restore it in sql 2005 express edition.
0
tmreiterAuthor Commented:
adwiseman,

sorry for the basic question, but assuming I upsize the Access DB, what command/feature of SQL Server would I use to link the upsized tables to SQL Server Express?  I don't have the book with me right now, but if I recall correctly in SQL you can ATTACH data sources, CONNECT to data sources, etc.  Not sure if I understand the distinctions.  Bear in mind that this will be for a purely desktop application intended for distribution without too many complications.

Tom
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

adwisemanCommented:
There are 2 ways to utalize SQL Server with access.  One is to put the data in SQL server, and use linked tables in access.  You connect through access the same way you always have, only the data is actualy in SQL Server.  The other is to put the data in SQL Server and re-write you application to connect directly to the databse in SQL server.  Not using Access at all, and re-writing any functionalty you used access for.
0
tmreiterAuthor Commented:
adwiseman,

I am pursuing the second alternative (ie, data in SQL Server and re-write application, with no more use of Access at all once the tables have been upsized).  My question is how I put the data (once it's been upsized from Access) into SQL.  

If you give me the key concepts and terms I should be able to get the specific syntax from books, etc.  The basic problem is that I don't really understand the difference between the various ways ways of inserting or connecting data into SQL.

Tom
0
tmreiterAuthor Commented:
I used the upsizing wizard, and it seems like it worked like a charm...very simple, and the tables automatically appeared in my instance of SQL Server 2005 Express.  I'm sure I'll be back soon with more questions.

Thanks,

Tom
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.