Re: [sqlite] Can error messages be concatenated in the raise function?

2018-01-10 Thread Richard Hipp
On 1/10/18, Shane Dev wrote: > Hello, > > From the documentation https://www.sqlite.org/syntax/raise-function.html, > it is not clear to me if the 'error-message' must be a fixed string. The current implementation requires that the 2nd argument to RAISE() be a fixed string.

[sqlite] Can error messages be concatenated in the raise function?

2018-01-10 Thread Shane Dev
Hello, From the documentation https://www.sqlite.org/syntax/raise-function.html, it is not clear to me if the 'error-message' must be a fixed string. Is there a way to raise a concatenated message? For example, a fix string error message - CREATE TABLE readonly(num int); CREATE TRIGGER