Home > Mobile >  QT SQL database column cannot delete and modify
QT SQL database column cannot delete and modify

Time:11-20

Found in columns using SQL database fields can be added but unable to delete and modify
Query. The exec (" alter table record delete the column te ");
Query. The exec (" update table record rename the column to te newte ");
Query. The exec (" drop columm te ");

Using a variety of methods are not line, online for a long time also does not have the corresponding solutions
No error

CodePudding user response:

I spent two days to find the reason, is because it is impossible to delete the sqlite, but can add, operation as well as through the visual database code can add cannot delete, if you want to delete the field can only create a new and then copy, wildest dreams, my heart is really hard to describe

CodePudding user response:

I went to write an article related content, also hope you not like me again, really suffer
  •  Tags:  
  • Qt
  • Related