954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to convert sql server database to access database

Hi
I want to convert Sql Server Database to Access Database ,


I have one database and it has different tables and view also.

please help me how to do this ?

bimaljr
Junior Poster in Training
51 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Make a new Access database. Go to the tables tab and right click in the large whitespace area. Select Import. You'll need an odbc connection to your SQL database. You can import all of your tables at once.

For your views, I would try copying and pasting the views SQL into queries. I don't think it will work to import them as queries, and there will probably be some differences in the SQL between Access and MS SQL.

galaxygal

galaxygal
Newbie Poster
12 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

Thanks
It works :)

bimaljr
Junior Poster in Training
51 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Additionally, if you have to perform this task any more, its quite easy to build a SSIS package to do it for you. That way having a fresh new Access DB is only a click away.

cutepinkbunnies
Junior Poster
146 posts since Apr 2006
Reputation Points: 15
Solved Threads: 9
 

Thanks

bimaljr
Junior Poster in Training
51 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

primary key is not available in th access database that available in sql server. how i solve this.

senthilnathan.r
Newbie Poster
1 post since Mar 2010
Reputation Points: 10
Solved Threads: 1
 

anyone know how to do this in coding vb.net????

shuhana84
Light Poster
25 posts since Jun 2010
Reputation Points: 10
Solved Threads: 1
 

Primary Key in SQL Server is call Identity (as far as I Know), and the PK in Access is called, well, Primary Key, you just right click in the field you want it to be Pkey and activate the golden key icon; this is donde under Design View.
Remember to set the pkey to int and autoincremetal, to be compliant whit the atomic properties of a DB.

Hopes this helps

In vb.net, for the structures and data, well, i think that simple SQL queries will do. Just CREATE TABLE XYZ all the tables that are in SQL Server and INSERT INTO... the data.

el_vala
Newbie Poster
6 posts since Aug 2010
Reputation Points: 10
Solved Threads: 1
 

Primary Key in SQL Server is call Identity (as far as I Know), and the PK in Access is called, well, Primary Key, you just right click in the field you want it to be Pkey and activate the golden key icon; this is donde under Design View. Remember to set the pkey to int and autoincremetal, to be compliant whit the atomic properties of a DB.

Hopes this helps

In vb.net, for the structures and data, well, i think that simple SQL queries will do. Just CREATE TABLE XYZ all the tables that are in SQL Server and INSERT INTO... the data.


tq..

shuhana84
Light Poster
25 posts since Jun 2010
Reputation Points: 10
Solved Threads: 1
 

Thanks a lot:)

Mishel_g
Newbie Poster
1 post since Feb 2011
Reputation Points: 10
Solved Threads: 1
 

thanks. ya it really works. keep sharing with us

hostingguru
Newbie Poster
4 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: