On the terminal of Mac 10.6
(Application -> Utility -> Termincal )
sqlite3 abc.sql
CREATE TABLE IF NOT EXISTS InfoAll (sno INTEGER PRIMARY KEY AUTOINCREMENT,username TEXT, pswd TEXT, link TEXT, hint TEXT);
CREATE TABLE IF NOT EXISTS mainTable(mastersno INTEGER PRIMARY KEY AUTOINCREMENT,masterusername TEXT, masterpswd TEXT);
.quit
select 'DROP table ' || name from sqlite_master where type = 'table';
----- =====>
DROP table sqlite_sequence
DROP table mainTable
DROP table InfoAll
(Application -> Utility -> Termincal )
sqlite3 abc.sql
CREATE TABLE IF NOT EXISTS InfoAll (sno INTEGER PRIMARY KEY AUTOINCREMENT,username TEXT, pswd TEXT, link TEXT, hint TEXT);
CREATE TABLE IF NOT EXISTS mainTable(mastersno INTEGER PRIMARY KEY AUTOINCREMENT,masterusername TEXT, masterpswd TEXT);
.quit
select 'DROP table ' || name from sqlite_master where type = 'table';
----- =====>
DROP table sqlite_sequence
DROP table mainTable
DROP table InfoAll