I got the error like this:
server version for the right syntax to use near 'Before INTEGER, PRIMARY KEY (ID), )' at line 8
CREATE TABLE PatientPX (
ID INTEGER NOT NULL,
PXDate DATETIME,
PatientID INTEGER,
PatientPXCategoryId INTEGER,
FileName VARCHAR(255),
PXName VARCHAR(255),
Before INTEGER,
PRIMARY KEY (ID),
)