我想问一下,是否有任何配置允许HeidiSQL生成如下所示的插入查询:
INSERT INTO state SET ST_ID = NULL, ST_NAME = "lol"而不是:
INSERT INTO state (ST_ID, ST_NAME) VALUES (NULL, 'lol')发布于 2015-09-21 18:01:11
解决方案:
1. Select a table in heidi
2. In the query tab, select desired column from the right panel.
3. Right click on the selected column and select 'Generate Update..'
4. In the generated query, change the 'UPDATE' command to 'INSERT INTO'.
5. Delete the 'WHERE' command发布于 2017-02-03 19:30:55
啊,好吧,这也是Heidi的一个特点:
或选择更多列,然后单击鼠标右键。生成的查询将使用selected columns
选自http://www.heidisql.com/forum.php?t=9412
https://stackoverflow.com/questions/32556663
复制相似问题