问题标签 [db-browser-sqlite]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - 我如何将 java 连接到 sqlite db 浏览器
我正在尝试使用 nano 编辑器将 sqlite db 浏览器与 java 连接,我在这里很新。我关注了一些 youtube 视频,但我在中间堆放任何人都可以请帮助这里是我的代码。
sqlite - (sqlite) 如何跨四个表共享同一个主键
我对设置表之间的关系真的很陌生。
我创建了 4 个表,它们是一对一的关系,所以我想让这些表共享 PK。
我正在为 sqlite 使用 db 浏览器。
谢谢
sql - where 子句中的多个 PK
在我的表中,我有 (LocID) 这是我的 PK,我试图将其缩小到特定的 4,但是当我运行下面的查询时,我只得到一个答案。在这个查询中需要修复什么?
sql - Time overlaps from Nesting queries
Based on the current schema I have been asked to find
-- people who were untested and exposed to some one infectious
-- Do not list anyone twice and do not list known sick people
-- Exposed = at the same place, and overlap in time (No overlap time needed for simplicity)
From the query below I find my answer except I cannot remove the people who are 'postive' because the second part my query i.e the time lapse depends on the first part i.e the time the positive people went to the same locations.
So my question is, What modification does this query need to show the results of the results of the second part only?
I consider the first part to be
And the second part to be
constraints - 尝试使用 DB Browser for SQLite 添加 CHECK 约束
使用 SQLite 的 DB Browser 我正在尝试在数字字段上添加检查约束。在 Edit Table Definition 屏幕中,我可以添加和命名约束,但我无法在命令的 CHECK() 部分中添加检查条件。我可以将 SQL 复制到 SQL 编辑器窗口并在那里添加检查条件。有没有办法在编辑表定义屏幕上输入检查条件?
sql - SQLite DB 浏览器,由于触发器无法修改列
我想使用 DB Browser 向表中添加一列,但是当我尝试保存时,我收到以下错误消息:
修改此列失败。从数据库返回错误:将表“sqlb_temp_table_19”重命名为“ClientData”时出错。来自数据库引擎的消息:触发器 fki_ExclusionRoleClientDatas_ClientData_ID_ClientData_ID 出错:没有这样的表:main.ClientData(ALTER TABLE“main”。“sqlb_temp_table_19”重命名为“ClientData”)
我要做的操作是向名为“RestartTime”的“ClientData”添加一列。我没有表 namendsqlb_temp_table_19
也没有'ClientData'.Message
.
触发器存在以下内容:
我在这里遇到的错误是什么?