初心者です。よろしくお願いします。
sql
1ALTER TABLE products ALTER COLUMN '単価' VARCHAR(5);
productsをVARCHER方に変換したいんですけど、エラーが出てしまいます。
エラー文
sql
1ERROR 1064 (42000): 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 ''単価' VARCHAR(5)' at line 1
どうすればよいでしょうか?よろしくお願いします。
ALTER TABLE customer MODIFY 連絡先
VARCHER(12);
のようにやってみたんですけど、
ERROR 1064 (42000): 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 'VARCHER(12)' at line 1
が出てきてしまいます。どうすればよいでしょうか???…
回答4件
あなたの回答
tips
プレビュー