On Mon, Aug 12, 2013 at 9:24 AM, Dan Kennedy <danielk1...@gmail.com> wrote:

> On 08/12/2013 01:20 PM, Baruch Burstein wrote:
>
>>  From the documentation for CREATE TABLE:
>>
>>      The parent key of a foreign key constraint is not allowed to use the
>> rowid. The parent key must used named columns only.
>>
>> Does this mean it can or can't use a named column that is an alias for the
>> rowid? Is the problem using the rowid, or is the problem that if the rowid
>> is unaliased, it can change?
>>
>
> An INTEGER PRIMARY KEY can be a parent key:
>
> Thank you. The documentation should probably be clarified.

-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to