dbTalk Databases Forums  

Export SQL Server to ACCESS: how to keep relationship and constraints

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Export SQL Server to ACCESS: how to keep relationship and constraints in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
q_test
 
Posts: n/a

Default Export SQL Server to ACCESS: how to keep relationship and constraints - 01-19-2006 , 01:35 PM






I want to export my existing sql server 2000 database to a new ACCESS
2000 database. I don't want to export any data, but just all the table
structures, and constraints and relationships between tables.

Right now I use the export wizard to export all tables. But I get a copy
of ACCESS with no primary keys and foreign keys.

How do I preserve the relationship between tables during the export?


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Export SQL Server to ACCESS: how to keep relationship and constraints - 01-21-2006 , 05:15 AM






Hello q_test,


Going from SQL Server to Access you can't, well not very easily anyway.
You will have to write something that queries the constraints etc on SQL
Server and then applies that logic in the style of Access to the Access DB.
This will involve coding yourself as there is nothing in the box that will
do this

Allan

Quote:
I want to export my existing sql server 2000 database to a new ACCESS
2000 database. I don't want to export any data, but just all the table
structures, and constraints and relationships between tables.

Right now I use the export wizard to export all tables. But I get a
copy of ACCESS with no primary keys and foreign keys.

How do I preserve the relationship between tables during the export?




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.