Skip to content Skip to sidebar Skip to footer
Showing posts with the label Unique Key

Storing Email Varchar(320) As Unique, #1071 - Specified Key Was Too Long; Max Key Length Is 767

I have already checked what is the reason of this error. Therefore, I know I am exceeding the limit… Read more Storing Email Varchar(320) As Unique, #1071 - Specified Key Was Too Long; Max Key Length Is 767

How Can I Catch Uniquekey Violation Exceptions With Ef6 And Sql Server?

One of my tables have a unique key and when I try to insert a duplicate record it throws an excepti… Read more How Can I Catch Uniquekey Violation Exceptions With Ef6 And Sql Server?