I have the database table AllowedFields with the following columns:
ID int
Name Varchar(50)
FieldRecord Decimal(7,2)
I am trying to insert demo records using the following query:
set term ^ ;
EXECUTE BLOCK AS BEGIN
INSERT INTO AllowedFields(Name, FieldRecord) VALUES ("A", 0.00);
INSERT INTO AllowedFields(Name, FieldRecord) VALUES ("E", 13.00);
END^
But I am getting this error message:
Engine Code : 335544569
Engine Message :
Dynamic SQL Error
SQL error code = -206
Column unknown
A
At line 3, column 37
Obviously firebird sees this A value as a column value?
How would I change this script to insert a record. Thanks.