Please start any new threads on our new site at 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
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  

Yak Posting Veteran

72 Posts

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

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


Yak Posting Veteran

72 Posts

Posted - 03/04/2014 :  01:29:51  Show Profile  Reply with Quote
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.02 seconds. Powered By: Snitz Forums 2000