Command prompt window enter adb shell command execution sqlite ...> How to quit state

Today learned "first line" 6.4 SQLite database, run adb shell window when viewing the contents of the database, I do not know how the state to enter the command prompt "...>" This could have been "sqlite>", and then there is no way back and then continue to operate, no matter what the input is still the same

 

 

 

To the back finally found a solution, thanks to a large handsome fruit (https://blog.csdn.net/qq_34471736/article/details/73468964) When "...>" When we enter a ";" symbol , it will switch back to "sqlite>" state, then you can continue your other operate. Or press Ctrl + Z to exit this execution, and then enter it again, this is too much trouble.

 

Also, verify that a problem, when you open the database through sqlite3 command, the database name is case sensitive and extension, the following test results, the correct database name is BookStore.db, after the implementation of open, with .tables command to view the table verify that you can describe the problem

 

 

Record it, warning the latter less stepped pit.

Guess you like

Origin www.cnblogs.com/5igis/p/5igis_12548.html