Code: Select all
SELECT * FROM "TestTable1" WHERE "MY_ID" = 0
Code: Select all
SELECT * FROM TestTable1 WHERE MY_ID = 0
However an update using this SQL -
Code: Select all
UPDATE "TestTable1" SET "Cust" = '0' WHERE "MY_ID" = 0
Looking at the information on the HSQLDB website on SQL it states the Table and Field names need to be quoted unless they are in block capitals. If the table used in the above update query is replaced by a table named TEST then the quotes can be left out.
So why does a Select work without quotes?