Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Duplicate Error
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sunny_10
Yak Posting Veteran

72 Posts

Posted - 03/04/2014 :  01:24:03  Show Profile  Reply with Quote
Hi

I have defined 1 field as Primary Key Data Type is text . I have 1 record already value is 03041201, when i try to save second record it gives me the below error :-

Violation of Primary Key constraint 'PK_Transact_1' . Cannot insert duplicate key in object dbo.temp

though value of primary key is 03041202

Thanks

sunny_10
Yak Posting Veteran

72 Posts

Posted - 03/04/2014 :  01:29:51  Show Profile  Reply with Quote
closed
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000