If I rename SQLite Tables/Columns/Rows after indices have been created, will the old indices still be functional?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using
ALTER TABLEwithRENAME TOto rename a table, then as described on this page (from the sqlite docs) the indices will still work:But note there’s no renaming of columns allowed. This is one of the SQL features not implemented by sqlite:
Rows don’t have names (except in the sense of having a PK) so there’s not really a way of renaming them.