Syntax Highlight will tell you what is wrong
wrong code
Delphi-Quellcode:
var
stmt : string
begin
stmt := 'INSERT INTO nodes VALUES (4, 2, 'AA:=1234; bbA');';
end;
right code
Delphi-Quellcode:
var
stmt : string
begin
stmt := 'INSERT INTO nodes VALUES (4, 2, ''AA:=1234; bbA'');';
end;
You simply have to double the quotes inside the string
Kaum macht man's richtig - schon funktioniert's
Zertifikat: Sir Rufo (Fingerprint: ea 0a 4c 14 0d b6 3a a4 c1 c5 b9
dc 90 9d f0 e9 de 13 da 60)