Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 16th, 2004, 01:43 AM
areuser areuser is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 areuser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Import data from Access to SqlServer 2000

Currently I'm trying to convert an Access database
to a SqlServer 2000 database. For this purpose
I use the import and export data to forfill this task.
But the problem is :

Primary keys and Foreign keys are not converted
from the Access database to the SqlServer database.

I presume this is a standard newby error, but how can I solve it?

many thanx in advance,
Arnold

Reply With Quote
  #2  
Old April 16th, 2004, 10:48 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Not converted? I'm not sure what you mean by this.

Use the DTS tool, and choose the "import objects" option. Once the data is moved across, check your tables have their fields setup corectly... e.g. your PK's etc.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #3  
Old April 21st, 2004, 02:56 AM
areuser areuser is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 areuser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
DTS doesn't work fine

I can't define conversion very accurate for you.
But I will give it a try :
One RDBMS is Access ( the source RDBMS ), the other is SqlServer ( the target RDBMS )
All tables, constraints, keys are in the source RDBMS and they should be copied
to the target RDBMS.

The DTS Import/export wizard doesn't convert the foreign and primary keys fine.
Therefore I'm currently using the upsizing wizard of Access. Still some errors are made during this conversion.
Some foreign keys are removed in the target database, without a real reason. And some columns are added without a question
or a real reason.

And sorry, but the total amount of tables is far too much to check them manually.

If someone has got a real answer, and a real solution.
I would appreciate it.

Reply With Quote
  #4  
Old June 3rd, 2004, 03:03 PM
StealthKK StealthKK is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 9 StealthKK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Its so much easier than that!

Simply go into your access database, go to the tools menu, database utilities, upsizing wizard.
This will automatically import the mdb file into sql2000.
any probs or questions, post back

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Import data from Access to SqlServer 2000


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway