Varchar(max) column not allowed to be a Primary Key in SQL Server.
What is the max length of a varchar type that can be made a primary key.
This might be a b
900 bytes is the max length for a primary key, this is a bad idea in my opinion, why don't you use a surrogate key instead?