我在此数据库中有一个包含空格键的列,我想要更改.
ALTER TABLE . CHANGE COLUMN `Anzahl Personen` AnzahlPersonen int(11);
Run Code Online (Sandbox Code Playgroud)
在命令行中使用此行后,输出如下:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHANGE COLUMN `Anzahl Personen` AnzahlPersonen int(11)' at line 1
Run Code Online (Sandbox Code Playgroud)
是的,我不知道,我做错了什么.
我有一个 QLineEdit 字段和一个 QPushButton。只要 QLineEdit 为空,就应该禁用该按钮。
怎么做?