Re: [sqlite] Error message from RAISE just plain text ?

2009-06-20 Thread Simon Slavin
On 20 Jun 2009, at 5:21pm, Dennis Cote wrote: > From the parser you can see the allowed raise function syntax. It honestly didn't occur to me to read the source code. Thanks, Dennis. Simon. ___ sqlite-users mailing list sqlite-users@sqlite.org http:/

Re: [sqlite] Error message from RAISE just plain text ?

2009-06-20 Thread Dennis Cote
Simon Slavin wrote: > On 15 Jun 2009, at 2:37am, Simon Slavin wrote: > > >> The examples for the error text I've found are all simple text >> strings, for instance >> >> RAISE(ROLLBACK, 'delete on table "foo" violates foreign key constraint >> "fk_foo_id"') >> >> What I want to do is more like >

Re: [sqlite] Error message from RAISE just plain text ?

2009-06-20 Thread Simon Slavin
On 15 Jun 2009, at 2:37am, Simon Slavin wrote: > The examples for the error text I've found are all simple text > strings, for instance > > RAISE(ROLLBACK, 'delete on table "foo" violates foreign key constraint > "fk_foo_id"') > > What I want to do is more like > > RAISE(ROLLBACK, 'Attempt to del

[sqlite] Error message from RAISE just plain text ?

2009-06-14 Thread Simon Slavin
I'm getting my information about RAISE from and an example from To my surprise, error-message is not defined in which should prob