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 3691974
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:12:32+00:00 2026-05-19T04:12:32+00:00

How can I see the structure of table in SQLite as desc was in

  • 0

How can I see the structure of table in SQLite as desc was in Oracle?

  • 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-19T04:12:32+00:00Added an answer on May 19, 2026 at 4:12 am

    Invoke the sqlite3 utility on the database file, and use its special dot commands:

    • .tables will list tables
    • .schema [tablename] will show the CREATE statement(s) for a table or tables

    There are many other useful builtin dot commands — see the documentation at http://www.sqlite.org/sqlite.html, section Special commands to sqlite3.

    Example:

    sqlite> entropy:~/Library/Mail>sqlite3 Envelope\ Index
    SQLite version 3.6.12
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    sqlite> .tables
    addresses              ews_folders            subjects
    alarms                 feeds                  threads
    associations           mailboxes              todo_notes
    attachments            messages               todos
    calendars              properties             todos_deleted_log
    events                 recipients             todos_server_snapshot
    sqlite> .schema alarms
    CREATE TABLE alarms (ROWID INTEGER PRIMARY KEY AUTOINCREMENT, alarm_id,
                         todo INTEGER, flags INTEGER, offset_days INTEGER,
                         reminder_date INTEGER, time INTEGER, argument,
                         unrecognized_data BLOB);
    CREATE INDEX alarm_id_index ON alarms(alarm_id);
    CREATE INDEX alarm_todo_index ON alarms(todo);
    

    Note also that SQLite saves the schema and all information about tables in the database itself, in a magic table named sqlite_master, and it’s also possible to execute normal SQL queries against that table. For example, the documentation link above shows how to derive the behavior of the .schema and .tables commands, using normal SQL commands (see section: Querying the database schema).

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

Sidebar

Related Questions

Why I can't see DB structure by SQLite Manager in file explorer in Eclipse?
How can I see the structure (details of the columns etc) of a table
In my other question You can see code of my arr structure and PriorityQueue
Ok so i have a database table called requests with this structure mysql> desc
I'm pointing at the first div inside my table's td as you can see
I can see it looks like an alias for an unsigned int pointer, right?
I can see where svn:keywords like Id, LastChangedDate and Author are used and replaced
I can see how to change the fonts and colors in the IDE. Is
I can see that GD library is for images. But I can't see differences
I can see some potential difficulties with this concept but the idea is: I

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.