Solved

Upsize MDB to SQL Server

Posted on 2004-04-28
4
403 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
  • 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 19

Expert Comment

by:Melih SARICA
ID: 10939839
0
 
LVL 34

Accepted Solution

by:
arbert earned 500 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Abstract Express Replacement Software 12 28
Get the latest status 8 32
SQL - Copy data from one database to another 6 20
Flattening heirachies 3 31
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

832 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