I have the following:
create table dbo.Users
(
Id int identity not null
constraint PK_Users_Id primary key clustered (Id),
Email nvarchar (120) not null
constraint UQ_Users_Email unique (Email),
Username nvarchar (120) not null
constraint UQ_Users_Username unique (Username)
);
Can I set a constraint to make Email and Username equal?
Thank You, Miguel