I am connected to Teradata via the dbeaver. I successfully got connected to it after downloading the libraries from the https://downloads.teradata.com/. I am completely new to teradata. I copied one command from the tutorials point and tried to ran it.
CREATE SET TABLE PUBLIC.EMPLOYEE,FALLBACK (
EmployeeNo INTEGER,
FirstName VARCHAR(30),
LastName VARCHAR(30),
DOB DATE FORMAT 'YYYY-MM-DD',
JoinedDate DATE FORMAT 'YYYY-MM-DD',
DepartmentNo BYTEINT
)
UNIQUE PRIMARY INDEX ( EmployeeNo );
But I keep getting the error:
SQL Error [3706] [42000]: [Teradata Database] [TeraJDBC 16.20.00.06] [Error 3706] [SQLState 42000] Syntax error: expected something between the 'TABLE' keyword and the 'PUBLIC' keyword.
I even tried creating the table form the dbeaver UI then still it is giving me an error. If someone could help me I will really appreciate it.