gpt4 book ai didi

database - 如何命名 SQLite 数据库,使其没有默认名称 main?

转载 作者:IT王子 更新时间:2023-10-29 06:23:26 25 4
gpt4 key购买 nike

如何命名 SQLite 数据库,使其不具有默认名称 main

最佳答案

我不这么认为。

main 数据库有特殊意义。
您可以使用其他名称附加其他数据库。

来自 http://www.sqlite.org/sqlite.html

The ".databases" command shows a list of all databases open in the current connection. There will always be at least 2. The first one is "main", the original database opened. The second is "temp", the database used for temporary tables. There may be additional databases listed for databases attached using the ATTACH statement. The first output column is the name the database is attached with, and the second column is the filename of the external file.

关于database - 如何命名 SQLite 数据库,使其没有默认名称 main?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7313190/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com