Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an android app published in Playstore. I need to add some columns to the existing table. When I drop and recreate the table, all data will be lost.

Is there any way to alter the database keeping existing data.

What I have tried:

ALTER TABLE ADD COLUMN IF NOT EXISTS doesn't seem to be helping me.
Posted
Updated 24-May-18 22:09pm

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900