SA-MP Forums Archive
How to? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to? (/showthread.php?tid=521841)



How to? - Iillminetor1 - 24.06.2014

Hello,

Anyway to move a SQLITE table to another database?


Re: How to? - Cutt3r - 24.06.2014

You'll have to attach Database X with Database Y using the Attach command, then run the appropriate Insert Into commands for the tables you want to transfer.

Quote:

INSERT INTO X.TABLE(Id, Value) SELECT * FROM Y.TABLE;

source