Silver ROOM
New Member
- Joined
- Sep 10, 2024
- Messages
- 4
- Reaction score
- 0
SQLITE How do I remove the [VIP] prefix from my database?
Example: [VIP] Dawnton
Example: [VIP] Dawnton
UPDATE players SET name = REPLACE(name, '[VIP] ', '')WHERE name LIKE '[VIP] %';
¯\(ツ)/¯[16:54:41] Error while executing SQL query on database 'Sam': UNIQUE constraint failed: players.name, players.deleted
you could use chatgpt to guide you in this endeavour just make sure to backup your databaseok thanks...
you could use chatgpt to guide you in this endeavour just make sure to backup your database
sqlite doesnt support dropping constraints so you might have to find workaround such as copying the data into a different table removing it then renaming it or something.
hi marko?hi santa