SQLite 是否支持同一数据库中的多个模式? [英] Does SQLite support multiple schematas within the same database?

查看:38
本文介绍了SQLite 是否支持同一数据库中的多个模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我查看 ALTER TABLE 语句的语法定义,它似乎表明表名可以以 schema-name 为前缀.这是否意味着 SQLite 支持模式(SQL Server 的方式)?还是这个 schema-name 指的是另一个数据库(类似于 MySQL)?

If I look at the syntax definition of an ALTER TABLE statement, it seems to indicate that a table name can be prefixed with a schema-name. Does that mean that SQLite supports schematas (the way SQL Server does)? Or is this schema-name referring to another database (similar to MySQL)?

推荐答案

在 SQLite 中,模式名称是 附加数据库.

In SQLite, a schema name is the name of an attached database.

因此在同一个数据库中不可能有多个模式.

So it is not possible to have multiple schemata within the same database.

这篇关于SQLite 是否支持同一数据库中的多个模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆