Don
unread,Aug 9, 2008, 7:01:18 PM8/9/08You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I recently created a development copy of a SQL Server 2005 database
from a client's backup, and while examining the structure I found
several tables with NVARCHAR columns with -1 as the maximum number of
characters. In all cases the columns are defined as NOT NULL, but with
no default value. When I query those columns, the value is always a
null string, but not NULL. I cannot find any reference to this in any
of my books, and when I try Googling the quoted string "NVARCHAR(-1)"
all it turns up are resources with the string "NVARCHAR(1)". I'm
stumped. What can this possibly mean?