I am using HSQLDB_2.3.2.
If first created the table using:
Code: Select all
CREATE TABLE "tblCertificateOfInsurance"
(
"InsuranceId" INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 0) NOT NULL PRIMARY KEY,
"InsuranceContractorID" int NOT NULL,
"InsuranceExpirationDate" date,
)
Code: Select all
INSERT INTO "tblCertificationOfInsurance" ("InsuranceID", "InsuranceContractorID", "InsuranceExpirationDate") VALUES (NULL, 99,""01/01/1900"");
CALL IDENTITY();
Ultimately what I need to do is create the record with values from a forum. At this point I just would like to save a new record using SQL.