Вопрос

Really simple question from a newbie (who has done a lot of googling to try to work it out!)

The below MySQL code is giving a Syntax error saying "check" is UNEXPECTED_SYM

ALTER TABLE check change AccountRef_ListID AccountListID VARCHAR(50)

Why?

Это было полезно?

Решение

You can not use the word check in MySQL as it is reserved words. Change your table name to new proper one. Look into reserved words here, but it is just for MySQL 5.5.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top