SQLite Commands
Summary: in this tutorial, we will introduce you to the most commonly used SQLite commands of the sqlite3 command-line program.
The SQLite project delivers a simple command-line tool named sqlite3 (or sqlite3.exe on Windows) that allows you to interact with the SQLite databases using SQL statements and commands.
概要:このチュートリアルでは、sqlite3コマンドラインプログラムの最も一般的に使用されるSQLiteコマンドを紹介します。
SQLiteプロジェクトでは、sqlite3(Windowsではsqlite3.exe)というシンプルなコマンドラインツールが提供されており、SQL文やコマンドを使ってSQLiteデータベースと対話することができます。
Connect to an SQLite database
SQLiteデータベースへの接続
Show all available commands and their purposes
利用可能なすべてのコマンドとその目的を表示する
Show databases in the current database connection
現在のデータベース接続のデータベースを表示する
Exit sqlite3 tool
sqlite3ツールの終了
Show tables in a database
データベース内のテーブルの表示
Show the structure of a table
テーブルの構造を表示する
Show indexes
インデックスの表示
Save the result of a query into a file
クエリの結果をファイルに保存する
Execute SQL statements from a file
ファイルからSQL文を実行する
この記事が気に入ったらサポートをしてみませんか?