How do I specify a timeout in sqlite3 from the command-line?
$ sqlite3 -init <(echo .timeout 1000) your.db "your sql;"

$ sqlite3 -cmd ".timeout 1000" outgoing.db "SELECT * FROM edges"

.timeout MS Try opening locked tables for MS milliseconds

https://dba.stackexchange.com/questions/47919/how-do-i-specify-a-timeout-in-sqlite3-from-the-command-line

本文链接地址:https://const.net.cn/718.html

标签: none

添加新评论