Import Access 2002 data to SQL Server 2005 Express
Posted on 2006-04-17
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)?
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...).