i'm new to dephi and programming and wanna write this query, but i had error while running the program.
i wanna select all records from mytable where the name equal the string "chad", i think the problem in writing string.
the code is as follows:
query1.SQL.Add('select * from mytable where name=chad');
i wish u help me to find the correct statment.