小编eco*_*eco的帖子

更改MariaDB中的列名称

我在此数据库中有一个包含空格键的列,我想要更改.

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)

是的,我不知道,我做错了什么.

mariadb spacebars

11
推荐指数
1
解决办法
1万
查看次数

除非编辑字段不为空,否则如何禁用按钮?

我有一个 QLineEdit 字段和一个 QPushButton。只要 QLineEdit 为空,就应该禁用该按钮。

怎么做?

python qt pyside qlineedit qpushbutton

1
推荐指数
1
解决办法
6284
查看次数

标签 统计

mariadb ×1

pyside ×1

python ×1

qlineedit ×1

qpushbutton ×1

qt ×1

spacebars ×1