I am working through an example from MSDN that uses a small database to demonstrate data driven testing, and here is the simple schema:
CREATE TABLE dbo.LogonInfoTest
(
UserId nchar(256) NOT NULL PRIMARY KEY CLUSTERED,
Password nvarchar(256) NULL,
IsValid bit NOT NULL
) ON [PRIMARY]
GO
My question is: What is the underlying reason for choosing nchar as the datatype of UserId and nvarchar as the datatype of Password?