Skip to content

SQL Primer for R

1 message · Steve Revilak

#
It sounds like SQLite's ".schema" command might be you're looking for.
Here's an example:

   $ sqlite3 foo.db
   SQLite version 3.5.4
   Enter ".help" for instructions
   sqlite> create table T (c1 integer, c2 integer, c3 integer);
   sqlite> .tables
   T
   sqlite> .schema T
   CREATE TABLE T (c1 integer, c2 integer, c3 integer);
   sqlite> .quit

Steve Revilak