SQL Server unique constraint problem

Posted by b0x0rz on Stack Overflow See other posts from Stack Overflow or by b0x0rz
Published on 2010-05-07T20:56:12Z Indexed on 2010/05/07 21:28 UTC
Read the original article Hit count: 258

How to create a unique constraint on a varchar(max) field in visual studio, visually.

the problem is when i try it:

manage indexes and keys > add > columns

I can only chose the bigint columns, but not any of the varchar(max) ones.

Do I maybe have to use check constraints?

If yes, what to put in the expression?

Thnx for the info

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about visual-studio-2010