CREATE index if not exists
时间: 2023-11-27 14:04:36 浏览: 230
ipfs-ds-postgres:IP用于IPFS的PostgreSQL数据存储
在MySQL中,不支持直接使用"CREATE INDEX IF NOT EXISTS"语句来创建索引。MySQL文档中提供了一种复杂的解决方案来判断索引是否存在并创建索引。你可以参考MySQL文档中的解决方案来实现这个功能。\[3\]
#### 引用[.reference_title]
- *1* *2* [MySql SqlServer Sqlite中关于索引的创建](https://blog.csdn.net/a616735104/article/details/101625579)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [CREATE INDEX IF NOT EXIST](https://blog.csdn.net/maray/article/details/45111191)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文