You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Laura Stewart <sc...@gmail.com> on 2006/09/08 06:43:04 UTC

SQL State 42886 " '{0}' parameter '{1}' requires a parameter marker '?' "

The content of this message has changed since 10.1 and now there
appears a question mark at the end of the message.

Currently it reads:
42886 " '{0}' parameter '{1}' requires  a parameter marker '?' "

This that correct?

-- 
Laura Stewart

Re: SQL State 42886 " '{0}' parameter '{1}' requires a parameter marker '?' "

Posted by Andrew McIntyre <mc...@gmail.com>.
On 9/7/06, Laura Stewart <sc...@gmail.com> wrote:
> The content of this message has changed since 10.1 and now there
> appears a question mark at the end of the message.
>
> Currently it reads:
> 42886 " '{0}' parameter '{1}' requires  a parameter marker '?' "
>
> This that correct?

Yes, it is correct. In this case the question mark is a literal. A
parameter in a prepared statement is marked with a question mark.

The message in question hasn't actually changed. It looks like Jeff
accidentally replaced the literal '?' with '<parameter>' in the 10.1
docs. It should be '?'.

andrew