Re: [sqlite] Where exactly are parameters accepted in an expression?

2014-07-29 Thread Clemens Ladisch
Zsbán Ambrus wrote: > CREATE VIEW vp AS SELECT ? AS x; > > Error: parameters are not allowed in views > > This error seems reasonable, but I can't find anything about it in > documentation. Could you tell me where the documentation explains > where exactly I can use parameters (bound param

[sqlite] Where exactly are parameters accepted in an expression?

2014-07-29 Thread Zsbán Ambrus
Hello sqlite list! The following statement gives an error in sqlite 3.8.4.3. CREATE VIEW vp AS SELECT ? AS x; The error message is: Error: parameters are not allowed in views The parameter (placeholder) is definitely be the problem here, because this similar statement executes without