from sqlite3 import dbapi2 as sqlite

connection = sqlite.connect(':memory:')

cursor.execute('  . . . sql statements . . .')

cursor.close()

Whatever sql operations you do will be in memory. Once you exit the 
applcation, DB will be lost





Uma Krishnan <[EMAIL PROTECTED]> 
08/08/07 10:44 PM
Please respond to
sqlite-users@sqlite.org


To
sqlite-users@sqlite.org
cc

Subject
RE: [sqlite] In-Memory






Hello,
 
  Has anyone used SQLite as an In-Memory implementation. If so would you 
like to share your ideas?
 
  Thanks in advance
 
  - Uma




*******************************************************************************************
This e-mail and any attached documents may contain confidential or proprietary 
information. 
If you are not the intended recipient, please advise the sender immediately and 
delete this 
e-mail and all attached documents from your computer system. Any unauthorized 
disclosure,
distribution or copying hereof is prohibited.
*******************************************************************************************

Reply via email to