Details
Description
I get an error when running the sqlserver script to set the databases up. The error is:
Server: Msg 1903, Level 16, State 2, Line 140
900 is the maximum allowable size of an index. The composite index specified is 4128 bytes.
Server: Msg 1750, Level 16, State 1, Line 140
Could not create constraint. See previous errors.
I'm seeing the same behavior in 3.2.0 Beta.
A very complicated "work-around" can be found here: http://www.sqlmag.com/Article/ArticleID/93824/sql_server_93824.html
Another idea: would it be easier to simply create a hash of the username+principal and use the hash as a constraint?