A family of Microsoft relational database management systems designed for ease of use.
Have you tried disabling the Monaco SQL Editor?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The software seems to be corrupt in my computer and I can't make any query's in my computer, no matter the Access file or query type. If I try to make a query, it comes up with a response of "Invalid SQL Statement; expected 'DELETE','INSERT','PROCEDURE','SELECT' or 'UPDATE'. I have tried to run the same query on the same file in a different computer and it worked, so the problem must be in the software of my computer. I am studying SQL in school and it happened to three of our class students in the same class on the same time and date, which is quite strange. I have had no other problems with my computer and MS Access until now (two days ago).
Thanks in advance
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I don't know your field data types, but I'd suspect [kurss] is numeric, so it shouldn't have single quotes around its value. So I'd try
INSERT INTO riik
VALUES ('UK', 'United Kingdom', 1);
OR
INSERT INTO [riik]
VALUES ('UK', 'United Kingdom', 1);
Also, although it is acceptable to use the implicit SQL syntax (above), I much prefer using the explicit format (below) in case design changes occur to the table
INSERT INTO riik (riigikood, riiginimi, kurss)
VALUES ('UK', 'United Kingdom', 1);
OR
INSERT INTO [riik] ([riigikood], [riiginimi], [kurss])
VALUES ('UK', 'United Kingdom', 1);
The last thing that comes to mind is the fact that you are using the new Monaco SQL Editor, there could be a bug.
Hi
In the original post I was not able to attach images, now I can.
The first image is the query. "riik" is a table, and I have attached the second image of the table "riik". The third image is the error that pops up when I try to save the Query.
I will look into performing an Office repair.
Thanks in advance
We'd need to see the query SQL statement.
Also, have you tried performing an Office Repair?