?
Solved

Upsize MDB to SQL Server

Posted on 2004-04-28
4
Medium Priority
?
450 Views
Last Modified: 2012-06-27
When I use access to upsize my existing mdb database to a new SQL Database, (created by Access during the process) once the upsize has been done I cannot add or delete any records from the tables on SQL Server.

Why ?
0
Comment
Question by:Northumberland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 10939711

did u Import data from MDB to SQL db..?

Once i did ave that problem too...

How did i solve it..

I got the creation script of the Access file.. With indexes and other things...

I run that creation script on SQL Analyzer...

then the application works fine...
0
 

Author Comment

by:Northumberland
ID: 10939771
How do I get the creation script of the Access file ?
0
 
LVL 34

Accepted Solution

by:
arbert earned 1500 total points
ID: 10940434
You simply need to make sure that the "linked tables" in Access have primary keys.  Of course, this means that your underlying tables in SQL Server must also have VALID primary keys.  You cannot update a record in Access unless you have a primary key on it.

Brett
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

801 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