Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 Access -> SQL Table Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Astralis
Senior Member

USA
1218 Posts

Posted - 08 February 2005 :  18:48:45  Show Profile  Send Astralis a Yahoo! Message
I copied all tables successfully except for one. This is the error message. Any ideas?

FORUM_SUBSCRIPTIONS

Insert Error. Column 1 ('SUBSCRIPTION_ID' DBTYPE_I4), status 10: Integrity violation, attempt to insert NULL data or data which violates constraints. Unspecified error.

How to fix this?

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 February 2005 :  18:53:53  Show Profile  Send ruirib a Yahoo! Message
Disable identity insert just for that table.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 08 February 2005 :  19:14:46  Show Profile  Send Astralis a Yahoo! Message
Thanks ruirib. Before I saw that message, I created a new column with AutoNumber in Access and deleted the old column (it was empty) and kept the identity insert on and it upgraded successfully. This shouldn't cause a proble, should it?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 February 2005 :  19:35:21  Show Profile  Send ruirib a Yahoo! Message
No, it won't create a problem. My suggestion would just allow SQL Server to generate an identity value for each record inserted. You just made Access do it instead.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07