How to delete data for all but a specific user from the PL/SQL database #103
-
My Trixter X-Dream V1 bike was originally owned by a gym and all the user data is still in the database. I want to get rid of all but mine. Is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This answer relates to version 3 of the X-Dream software provided with the X-Dream V1 Bike, which stores user data in a PL/SQL database. You can do this by issuing SQL commands. These instructions are currently not as "polished" as they could be. If you are not confident to use instructions from elsewhere in this forum to back up (see #5) and restore (see #7) the database, and figure out yourself how to issue these SQL commands, you're recommended to not try. Better instructions may follow, and the facility may be included in a future release of the software provided in this repository. Firstly, you should make a backup of the database otherwise you might end up having to start with a blank database. Instructions for this can be found in #5.
Start by creating a temporary table with the users you want to delete in it. Change the 'USERNAME' to contain the capitalised username you want to preserve.
Next, if you haven't done it before, create an index on the sample database otherwise some instructions might take a long time:
Now collect the records that need to be deleted into temporary tables and do the actual deleting:
Finally, delete the temporary tables:
|
Beta Was this translation helpful? Give feedback.
-
On seeing this question, some might ask another question: "Is there personal data from public gym members stored in the databases of the Trixter X-Dream PCs that are now in the possession of private users?" Here's what the userdata table in the database stores: Considering the username is entered via the 80s video game style "keyboard", entry of full identifying names is impractical. I can't offer any legal advice on whether or not this is a problem. You can simply delete the database. If it's not there, the Trixter X-Dream software simply starts over with a new one. |
Beta Was this translation helpful? Give feedback.
This answer relates to version 3 of the X-Dream software provided with the X-Dream V1 Bike, which stores user data in a PL/SQL database.
You can do this by issuing SQL commands.
These instructions are currently not as "polished" as they could be. If you are not confident to use instructions from elsewhere in this forum to back up (see #5) and restore (see #7) the database, and figure out yourself how to issue these SQL commands, you're recommended to not try. Better instructions may follow, and the facility may be included in a future release of the software provided in this repository.
Firstly, you should make a backup of the database otherwise you might end up having to start with a bla…