Now I need to save what is in memory to the hard drive and I always have an error, can someone give a tip? Local $dbdisk = _SQLite_Open(@ScriptDir & "\database.db") _SQLite_Exec($dbdisk, "ATTACH DATABASE ':memory:' as Original;") _SQLite_Exec($dbdisk, "CREATE TABLE Dados AS SELECT * FROM Original.Dados;") I always get an error that the table was not found but in memory the table exists because it was created and populated.