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

  • SEARCH
  • Home
  • 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 6726313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:54:46+00:00 2026-05-26T09:54:46+00:00

I have my sqlite3.exe file in C:\ and i want to create an sqlite

  • 0

I have my sqlite3.exe file in C:\ and i want to create an sqlite database in C:\db\sqlite.I have tried sqlite3 ex1 as suggested on the docs http://www.sqlite.org/sqlite.html but i get the error Error Near “sqlite3”.

What is the correct way of creating a new database from the shell?.

  • 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-05-26T09:54:46+00:00Added an answer on May 26, 2026 at 9:54 am

    Here is one way to use SQLite3 from the command prompt in Windows.

    First you need to know the path to the folder where you installed the SQLite ODBC Driver. If you used the default settings this would be C:\Program Files\SQLite ODBC Driver on Windows XP

    Go to Start -> Run -> type cmd -> click OK

    Type cmd

    This opens the command prompt.

    Command prompt

    In the Shell, type in the following command. You can use Alt + Space if you prefer to use cut and paste. Remember to modify the path for your setup if you installed SQLite in another folder.

    cd C:\Program Files\SQLite ODBC Driver

    Path to folder

    This brings you to the SQLite install folder. Now you are ready to call SQLite. Type the following command at the SQLite prompt.

    sqlite3

    Call SQLite

    This opens the File menu where you can choose a database to connect to, or create a new database file.

    File menu

    Navigate to C:\db\sqlite and create myDatabase.db, and click Open to close the file menu.

    Now you are ready to work on your new database, run your queries, e.g. create a table.

    Create table

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

Sidebar

Related Questions

I have a sqlite database that I want to open using sqlite3.exe. Now I
I have the following table in a SQLite3 database: CREATE TABLE overlap_results ( neighbors_of_annotation
I have sqlite3 database with example structure and data: CREATE TABLE person(id INTEGER PRIMARY
Hello I have a Sqlite3 database created in my computer and I want to
i have sqlite3 database file, that is back-end of a blog. The blog has
Using sqlite3, I have two tables: products, orders. I want to know how many
I have a Sinatra DataMapper app hitting a sqlite3 database that I am attempting
I have created a file named MyFile.db using SQLite3 from my C#.net application. This
I have a grid of UIImageViews. The images names come from a sqlite3 database.
I have compiled SQLIte3 database engine from sqlite3.c with BCC 55 using the following

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.