I am creating table for my sqlserver unit test using hsqldb. Here is my syntax:
SET DATABASE SQL SYNTAX MSS TRUE;
DROP TABLE MY_STUDIES IF EXISTS;
CREATE TABLE MY_STUDIES
(
STUDY_ID INT,
IB_ID INT NOT NULL,
STUDY_DATE DATE,
CREATION_DATE DATE,
STUDY_UID VARCHAR(200),
PRIMARY KEY (STUDY_ID)
);
Everything works well besides STUDY_DATE
and CREATION_DATE
. Is DATE
a good format here? Is there other DATE
type exists for sqlserver here?