Re: [sqlite] How to get version of an SQLIte file

2006-09-28 Thread lordphoenix
Le Thu, 28 Sep 2006 19:36:34 +0200,
Kees Nuyt <[EMAIL PROTECTED]> a écrit :

> BTW, I wonder why do you ask? It is much faster to test that
> yourself than ask someone else
Of Course I had made some tests but I wanted to be sure to have all
available information In order to be able to handle all possibilities
in my software.


signature.asc
Description: PGP signature


Re: [sqlite] How to get version of an SQLIte file

2006-09-28 Thread Kees Nuyt
On Thu, 28 Sep 2006 09:35:54 +0200, you wrote:

> Le Thu, 28 Sep 2006 00:01:08 +0200,
> Kees Nuyt <[EMAIL PROTECTED]> a écrit :
>
>> The first 15 bytes of the sqlite database file tell you which
>> file format it is. The file format doesn't change that often, so
>> it can be compatible with several software versions.
>
> Thanks for your answer. Do you know the different available
> values ofthis 15 bytes?

No, except for the software version I currently use 3.3.7, the
the file signature is the C string "SQLite format 3".

BTW, I wonder why do you ask? It is much faster to test that
yourself than ask someone else
-- 
  (  Kees Nuyt
  )
c[_]

-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] How to get version of an SQLIte file

2006-09-28 Thread lordphoenix
Le Thu, 28 Sep 2006 00:01:08 +0200,
Kees Nuyt <[EMAIL PROTECTED]> a écrit :

> The first 15 bytes of the sqlite database file tell you which
> file format it is. The file format doesn't change that often, so
> it can be compatible with several software versions.

Thanks for your answer. Do you know the different available values of
this 15 bytes?


signature.asc
Description: PGP signature


Re: [sqlite] How to get version of an SQLIte file

2006-09-27 Thread Kees Nuyt
On Wed, 27 Sep 2006 14:06:50 +0200, you wrote:

>Hello 
>I'm trying to develop an application with C# Mono and SQLite and I have
>a problem to know wich SQLIte version is the file I want open.
>
>Do you know a way to get this version before I open the file?

The first 15 bytes of the sqlite database file tell you which
file format it is. The file format doesn't change that often, so
it can be compatible with several software versions.

>LordPhoenix
>
>PS : Sorry for my English I'm french and don't speak this
>language very often :)

Many US citizens write worse English than you do ;)
-- 
  (  Kees Nuyt
  )
c[_]

-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] How to get version of an SQLIte file

2006-09-27 Thread lordphoenix
Hello 
I'm trying to develop an application with C# Mono and SQLite and I have
a problem to know wich SQLIte version is the file I want open.

Do you know a way to get this version before I open the file?


LordPhoenix

PS : Sorry for my English I'm french and don't speak this language very
often :)



signature.asc
Description: PGP signature