Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-10-2009, 01:39 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 9

Rep: Reputation: 0
How do you explain table in SQLite3?


I'm a complete noob with SQLite3 and I'm trying to figure out how to do the mysql equivalent of "explain table".

I've created a database and a table successfully. Using .dump I can see that the table is there and correct. I can add data and SELECT * from the table without problem. In other words, all is working well.

But I'd like to get a table explanation as a sanity check. Any help would be greatly appreciated.

I'm sitting at the sqlite> prompt in the terminal, though bonus points will be awarded for being able to do it in PERL too.

Old 03-10-2009, 10:03 PM   #2
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
.schema maybe? try typing .help at the sqlite command line for more 'dot' commands.
Old 03-11-2009, 01:11 PM   #3
LQ Newbie
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
.schema is exactly what I was looking for. Thanks very much.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
access paging table memory using another page table via MMU? valpa Linux - Kernel 8 08-26-2008 03:26 PM
php and sqlite3 can select but not insert file is set rw gruessle Programming 2 01-26-2007 05:13 AM
Sqlite3-3.2.1 execution error Aju Linux - Software 2 10-20-2005 09:17 AM
MySQL non-realtime table-by-table mirroring Passive Linux - Software 1 01-20-2004 12:11 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 11:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration