Today I’ve installed Zeos 6.6.6 component on Lazarus 0.9.28.2beta till this moment I’ve use SQLbd for Mysql but I want to learn Firebird.
I have problems with queries:
The select is working well:
Code: Select all
ZQuery1.Close;
ZQuery1.SQL.Clear;
ZQuery1.SQL.Add('Select NAME from test');
ZQuery1.Open;
Code: Select all
ZQuery1.Close;
ZQuery1.SQL.Clear;
ZQuery1.SQL.Add('insert into test(ID, NAME, SURNAME, ADDRESS, PHONE) values (“3”, “D”, “E”, “F”, “458”)');
ZQuery1.ExecSQL;
Code: Select all
ZQuery1.Close;
ZQuery1.SQL.Clear;
ZQuery1.SQL.Add('update test set name="BlaBla” where id=1');
ZQuery1.ExecSQL;
I don’t know what I’m doing wrong
Thankx