Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to truncate table in sqlite in android [closed]

I am new in android. Can anyone help me to hows truncate table in sqlite in android.. Can anyone give me example of that delete table? Please help me.

like image 401
Piyush Avatar asked Oct 22 '25 04:10

Piyush


1 Answers

What do you want to do? If you want to truncate the table (delete all data) you can use the DELETE query without a where condition. If you want to delete the entire table you can use a DROP TABLE query

like image 171
klaustopher Avatar answered Oct 23 '25 19:10

klaustopher