On Thursday, 26 Jul 2018  7:58 PM -0400, Richard Hipp wrote:
> On 7/26/18, Tomasz Kot <tom...@gmail.com> wrote:
>> Hello,
>>
>> Beneath sql shall throw an error on  CREATE VIEW statement (as invalid
>> column is specified), but it passes (SQLite 3.23.1).
>
> The error is deferred until you try to use the view.  The reason for
> deferring the error is that the problem might be corrected by
> subsequent DDL statements prior to using the view.

And I will add that I've found this behaviour quite useful when
upgrading to a new database schema.

-- 
Will

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to