[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqlite-users
Subject:    Re: [sqlite] SQLite.NET in-memory database creation
From:       Peter Berkenbosch <peter () pero-ict ! nl>
Date:       2005-06-30 12:48:15
Message-ID: 42C3EA0F.8050003 () pero-ict ! nl
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brass Tilde wrote:
>>>Stupid question, but how can i create an in-memory database with
>>>SQLite.NET provider? When i use Data Source=:memory: i get an exception
>>>that the specified file isn't found.
>>
>>If you are using the ADOSQLiteDotNet provider from SourceForge, add "New=True" 
>>to your connection string.
> 
> 
> To clarify, my connection strings for in-memory databases look like this:
> 
> "Data Source=:memory:;Version=3;New=True"
> 
> 

mmm. looks like it only fails with version=2; thx for the input.

- --
+-------------------------------+--------------------------+
: Peter Berkenbosch		:			   :
:				: t: +31 (0) 64 84 61653   :
: PeRo ICT Solutions		: f: +31 (0) 84 22 09880   :
: Koemaad 26			: m: peter@pero-ict.nl     :
: 8431 TM Oosterwolde		: w: www.pero-ict.nl       :
+-------------------------------+--------------------------+
: OpenPGP 0x0F655F0D (random.sks.keyserver.penguin.de)	   :
+----------------------------------------------------------+





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFCw+oO9bwznA9lXw0RAmjnAJ9PuIJuAPT89EfIX2j0h82QIYEHuwCglCaa
kPj1DUjfGPJr9+mfiGAvyu8=
=8mhF
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic