Page 1 of 1

how to copy a table from disk to memory

Posted: Mon 09 Jun 2014 04:41
by pwatel
Hello
I want to have a in memory table to be fed by a table residing on the disk
what is the way to go please to make it as fast as possible
thank you

Re: how to copy a table from disk to memory

Posted: Tue 10 Jun 2014 08:10
by AlexP
Hello,

There is no "memory" table in SQLite. You can either use temporary table or connect to memory database ( LiteConnection.Database := ':memory:') and copy your table. More details about temporary table and memory Database can be found in the documentation at sqlite.org .