Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有类似于 SQLite3 中用于 MariaDB/MySQL 的 ATTACH DATABASE 的命令或替代命令?
谢谢你
意图是什么?
如果要进行跨数据库查询,只需在表名后面加上数据库名加点。例子:
SELECT * FROM db_name.table_name WHERE id = 1