如何使用 VS2008 Server Explorer 在 SQLite 中创建表

发布于 2024-08-17 11:56:21 字数 268 浏览 4 评论 0原文

我想使用 VS2008 中的服务器资源管理器在 SQLite 数据库中创建一个表。我可以对数据库执行其他操作,但在使用查询生成器创建表时,我收到“不支持”消息。除了仅出于创建表的目的而编写代码之外,还有其他方法吗?

CREATE TABLE myTable
(
ID INTEGER PRIMARY KEY AUTOINCREMENT,
Name VARCHAR(100)
)

SQLite 3.6.16 的 .NET Framework 数据提供程序

I would like to create a table in a SQLite database using the Server Explorer in VS2008. I am able to do other operations on the database but when it comes to creating a table using the query builder I get Not Supported messages. is there another way other than writing code just for the sole purpose of creating the table?

CREATE TABLE myTable
(
ID INTEGER PRIMARY KEY AUTOINCREMENT,
Name VARCHAR(100)
)

.NET Framework Data Provider for SQLite 3.6.16

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

北城孤痞 2024-08-24 11:56:21

SQLite 数据库有一个简单的前端,称为 SqLiteMan。您可以使用此前端管理器非常轻松地创建数据库/表。

There is a simple front end for SQLite databases called SqLiteMan. You can create the database/tables very easily using this front end manager.

贵在坚持 2024-08-24 11:56:21

这很奇怪。使用服务器资源管理器工具将表添加到现有数据库中没有任何问题。

That's strange. I have no problems adding tables to an existing database using the Server Explorer tools.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文