Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

MS Access Migration Primary Key NULL

$
0
0

I moved from one hosting company to another. Their servers couldn't use the MS Access Databases because of an issue with 64 bit drivers, so the company migrated for me from MS Access to MS SQL, which I thought was very nice of them. The only problem is I keep getting this error saying Null Values can't be entered. I have narrowed it down to when they created the MS SQL Databases, the Primary_Key didn't create. I know because every other column is set to NULL.

Is there code to change the column  to work as a Primary Key. What more information do I need to tell you. Is there an Alter Table PressReleases Alter Column PK_PressReleaseID Identity True?

What do I need to do. All my clients can't work in the CMS system I built because nothing will update because of the error. Here is a sample of the code:

Error Executing Database Query.

[Macromedia][SQLServer JDBC Driver][SQLServer]Cannot insert the value NULL into column 'AccessHistoryID', table 'wlewiswhiterealty.dbo.AccessHistory'; column does not allow nulls. INSERT fails.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>