I have .sql files which have the following content:
#cat db.sql
create table server(name varchar(50),ipaddress varchar(15),id init)
create table client(name varchar(50),ipaddress varchar(15),id init)
Run Code Online (Sandbox Code Playgroud)
How do I import this file into SQLite so that these are created automatically?
我有 mydatabase.db 文件,我希望将其转换为 mydatabase.sql 文件。
这个怎么做?。谢谢。
有没有sqlite命令?或任何软件来转换它,或任何 mysql 命令?