Jump to content

SQL question (sq lite)


Recommended Posts

Hi, so ive managed to delete a load of entries in an sql table by accident.

i have backups of registry.db where its stored but this also contains other tables.

what i want to know is: is there a way for me to copy the table from backup registry then store it somewhere else

so i can add it back to the registry file it needs to be in?

(ie is it possible to save the table to another database temporarily?)

i cant just swap the files coz my backup is a week old and theres so much info in it in other tables thats changed.

ive tried exporting the table with 'Lita' but it doesnt let me import it back, it just imports 1 line.

i know i can fix this by writing a script to save the backup table to an xml, then swapping .db files and saving it back to sql

but thats a lot of hassle i guess... im just curious if theres an easy fix for this.

my sql skills arent great. :oops:

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...