Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9126311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:00:44+00:00 2026-06-17T07:00:44+00:00

I am new to SQLite3. I am trying to create a DB in the

  • 0

I am new to SQLite3.

I am trying to create a DB in the shell. When I run the shell, it already shows:

SQLite version 3..

Enter “.help” for instructions ..

Enter SQL…

Enter SQL statements terminated with a “;”

I read somewhere that I should be able to type “$” and codes like “$ sqlite3 mynotes.db”

Now, I need to be able to name my DB (like “mynotes.db”) and be able to decide in which folder I want it to be saved.

Can someone help me? Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:00:45+00:00Added an answer on June 17, 2026 at 7:00 am

    The $ somewhere was supposed to be a prompt of some shell (command processor), where you start sqlite3 and specify database name (which is created if does not exists).

    If you’re running sqlite3 without a shell (by clicking on sqlite3.exe?), it’s time to try another way. CMD.EXE on Windows is as good for this job as a typical Unix shell.

    As of the folder where the database will be: either cd to this folder before you run sqlite3 mynotes.db, or specify full pathname to the database: sqlite3 "C:\Users\Me\Documents and Settings\mynotes.db" (double quotes are needed when argument contains spaces).

    When sqlite3 is started with no parameters, the database will be in memory. Sqlite3 supports “attaching” other databases (see ATTACH DATABASE description). This way, you can create and open on-disks databases even if starting sqlite3 with parameters is impossible for some reason (or too hard).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Pretty new to sqlite (and sql). Trying to modify one table using another. create
I'm new to SQLite3 with iOS I'm trying to create an SQL Query that
I'm trying to start with SQLite and the Firefox add-on to create a new
I'm new to Android & SQlite. I was trying to create the following trigger
I'm trying to create an SQLite3 database file through Objective-C at run time. I
I am trying to create a new table in SQLite3 (data coming from a
I need some help I am trying to create a PHP form using sqlite3
I need some help I am trying to create a PHP form using sqlite3
I'm new to SQLite and I'm trying to create a view of joined tables,
I am basically trying to create a new database and enter the database values

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.