can you post an example. I tried without quotes and it still doesn't work.

On Sat, Aug 4, 2012 at 12:46 PM, Noel Grandin <[email protected]> wrote:

> You can't embed a ? inside quotes like that.
> You need to add the % stuff in your code.
>
> On Sat, Aug 4, 2012 at 11:35 AM, опен сорс <[email protected]> wrote:
> > ok people i have problem with LIKE operator in this database. I want to
> > select from my database NAME that has some word in it. I tried following.
> >
> > SELECT NAZIV FROM PROGRAMI WHERE NAZIV LIKE ?
> >
> > and it works, but it works without wildcards in oracle database wildcards
> > are % and it worked fine with them. But when i try to add it in h2
> database
> > like this:
> > "SELECT NAZIV FROM PROGRAMI WHERE NAZIV LIKE '%?%' " i get following
> error
> > Invalid value "1" for parameter "parameterIndex" [90008-167]
> >
> > can someone post solution to this im really stuck here.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "H2 Database" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/h2-database/-/gspb4fKhogsJ.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/h2-database?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to