I believe the key is used for attaching to encrypted databases.

-scott


On Wed, Feb 23, 2011 at 7:15 AM, Sam Carleton
<scarle...@miltonstreet.com> wrote:
> Kevin,
>
> Thank you, that is what I needed.  Now to statisfy my curiosity...  What
> exactly is the KEY value?
>
> On Tue, Feb 22, 2011 at 10:39 PM, Kevin Benson 
> <kevin.m.ben...@gmail.com>wrote:
>
>> The suggestion apparently derives from comments in attach.c
>> For example:
>>
>> http://gears.googlecode.com/svn/trunk/third_party/sqlite_google/src/attach.c
>>
>> /*
>> ** An SQL user-function registered to do the work of an ATTACH statement.
>> The
>> ** three arguments to the function come directly from an attach statement:
>> **
>> **     ATTACH DATABASE x AS y KEY z
>> **
>> **     SELECT sqlite_attach(x, y, z)
>> **
>> ** If the optional "KEY z" syntax is omitted, an SQL NULL is passed as the
>> ** third argument.
>> */
>>
>> --
>>   --
>>      --
>>         --ΞΞ--
>>          ô¿ô¬
>>       K e V i N
>>      /¯¯¯¯¯¯¯¯¯\
>>
>>
>>
>> On Tue, Feb 22, 2011 at 9:35 PM, Sam Carleton <scarle...@miltonstreet.com
>> >wrote:
>>
>> > y KEY z
>> >
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to