SQL Server Forums
Profile | Register | 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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sunny_10
Yak Posting Veteran

65 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

65 Posts

Posted - 03/04/2014 :  01:29:51  Show Profile  Reply with Quote
closed
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.06 seconds. Powered By: Snitz Forums 2000