Quantcast
Channel: Altering and adding column to the table in sqlite3 - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Trinimon for Altering and adding column to the table in sqlite3

No, add just adds the column. Neither its data will be deleted nor the table be dropped.p.s. from the documentation "Note: also that when adding a CHECK constraint, the CHECK constraint is not tested...

View Article



Altering and adding column to the table in sqlite3

If I alter the table and add a new column will add the data be wiped off from that table. ALTER TABLE MyTable ADD COLUMN noOfDays integer default 0 NOT NULL Will the above SQL command drop MyTable and...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images