Может кто-нибудь сказать мне, где проблема в сценарии? я пытаюсь создать таблицу.
CREATE TABLE utbl_Players
(
PlayerID INT NOT NULL IDENTITY(1,1),
Username NVARCHAR(10) NOT NULL PRIMARY KEY,
[Password] NVARCHAR(10) NOT NULL,
[First Name] NVARCHAR(20) NOT NULL,
[Last Name] NVARCHAR(20) NOT NULL,
Adress NVARCHAR(100) NULL,
[Country Name] NVARCHAR (20) NOT NULL,
[Email Adress] NVARCHAR (100) UNIQUE NOT NULL CHECK ( [Email Adress] LIKE '%@%'),
Gender NVARCHAR (10) NULL,
[Birth Date] DATETIME NOT NULL CHECK(YEAR(GETDATE())-YEAR( [Birth Date])>=18),
CONSTRAINT[FK_Country] FOREIGN KEY ([Country Name]) REFERENCES utbl_Country ([Country Name]),
CONSTRAINT[FK_Gender] FOREIGN KEY (Gender) REFERENCES utbl_Gender (Gender),
CONSTRAINT[FK_PlayerID] FOREIGN KEY (PlayerID) REFERENCES utbl_Game_History(PlayerID),
)