Create SQLite database under Windows

Source: Internet
Author: User
Tags sqlite sqlite database

Description: After performing the Create SQLite database command under Windows, the database file will not be generated immediately and will not be generated until the table is created.

1. Place the Sqlite3.exe file in any location (as in D:\tools)
2. Under CMD, enter under D:\tools
3. At the CMD command prompt, enter Sqlite3 test.db (test.db is the database name) carriage return
Note: Now that the TEST.DB database has been created but it is still a temporary file, you need to enter the SQL command to create the table
4.create table Test (name text);
5. Then go to d:\tools under view generated a test.db file that's what we're creating the database
6. If you want to use this database the next time you still use sqlite3 test.db to access this database

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.