I am working on an example from MSDN that uses a small database to demonstrate data-driven testing, and here is a simple diagram:
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 main reason for choosing nchar as the data type UserId and nvarchar as the password type?
source
share