This is the query:
update table tblprobleem set omschrijving='bugfixes' where probleem_id=4;
I checked omschrijving
, its datatype is varchar
. probleem_id
is integer. I tried to rewrite it a thousand times, I just don't get what is wrong with this.
error message:
12:03:05 update table tblprobleem set omschrijving='bugfixes' where probleem_id=4
Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table tblprobleem set omschrijving='bugfixes' where probleem_id=4' at line 1 0.000 sec
If anybody has the answer, you have my thanks forevere.
Greetz, John
The following recommendations will help you in your SQL tuning process.
You'll find 3 sections below:
ALTER TABLE `table` ADD INDEX `table_idx_probleem_id` (`probleem_id`);
SELECT
tblprobleem.omschrijving
FROM
table tblprobleem
WHERE
tblprobleem.probleem_id = 4