Reputation:
I'm trying to add a boolean field to a table using SQL however I'm not getting anywhere. The query I am using to try and add the field is:
ALTER TABLE TEST
ADD "NewField" BOOLEAN
When running this it will display the error Invalid use of keyword
. I'm trying to add this field to a paradox database.
Any help would be appreciated.
Upvotes: 0
Views: 1187
Reputation: 4934
double quote = postgres? The table names with capital letters may need double quotes as well.
alter table "TEST" add "NewField" boolean;
may work....
Upvotes: 0