Solved

SQL Server express with Access environment

Posted on 2014-02-19
3
516 Views
Last Modified: 2014-03-14
I've inherited an app that is written in Access 2007 (?) and has linked tables to  SQL Server Express .
I'm used to using ODBC drivers to link to Oracle tables on a Windows server running Oracle, but not SQL Server.

I would like to mimic the environment on my desktop that the client has on theirs. I've copied the data using export and that should work, but for my own gratification, I would like to get up to speed on SQL Server Express. This might be the perfect opportunity.

What steps to I need to take to load SQL Server Express?
Is there a way I can export or backup the clients data and import it to my Access mdb?
What's the best way to accomplish this?
0
Comment
Question by:GNOVAK
3 Comments
 
LVL 49

Assisted Solution

by:Gustav Brock
Gustav Brock earned 75 total points
ID: 39871816
You need to download and install SQL Server 2008 Express including SQL Server Management Studion
Then restore your backup file using SSMS.

/gustav
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 300 total points
ID: 39871817
You need to first install it:

http://www.microsoft.com/en-us/download/details.aspx?id=29062

The link above is for 2012, but of course there are other versions. Be sure to use the one that is most relevant for you.

Once you do that, the easiest way to move a database is to Backup the database on the Source, and then Restore the database at your machine. You can do that with TSQL, or you can use SQL Server Management Studio. You can install SSMS from here:

http://www.microsoft.com/en-us/download/details.aspx?id=7593

One the source machine, you'd need to create a Backup database, which will create a single file (usually with the .bak extension). Grab that file, and move it over to your machine, and then Restore it to your local SSE install. This article has some further information on the Backup/Restore method:

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/A_10138-How-to-upgrade-a-MSSQL-database-from-one-version-to-another.html

Once you do that, you'll have an exact copy of the database from your source.
0
 
LVL 24

Assisted Solution

by:Bitsqueezer
Bitsqueezer earned 125 total points
ID: 39872604
Hi,

backups and detach/attach methods are good if you only want to copy a database in one direction. But if you also want to develop this database and then move your developments back to the production server you can't do this with backup or detach/attach because you would of course destroy the data which was added in the meantime.

So you should consider to install a deployment tool for this job which can also copy the production database to your machine (and this can also be done from an enterprise version to an express version or vice-versa).

Here's a good one which is free:
Atlantis Schema Inspector
and also:
Atlantis Data Inspector

Of course the better one is the Redgate SQL Toolbelt but also not very cheap.

Cheers,

Christian
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now