We have to do a task for school and I can't get it to work.
I am using Microsoft SQL Server Management studio. I have a table Firmen
and I would like to add a column Firma
to it, defined as a text with max length of 50 characters.
To my understanding, the syntax to do this is
USE Schueler;
ALTER TABLE Firmen
ADD COLUMN Firma nvarchar(50) NOT NULL;
But I get this error
Falsche Syntax in der Nähe des COLUMN-Schlüsselworts.
Translating into
Wrong Syntax near COLUMN keyword
I don't get what I am doing wrong.