Thanks!
It works but in this way I have to put the search criteria inside the 
parameter value.

At the moment, however it is a good workaround.


Il giorno mercoledì 12 febbraio 2014 18:24:53 UTC+1, Andrey Lomakin ha 
scritto:
>
> Hi,
> Did you try select from test where value like ? and pass %value% there ?
>
>
>
>
> On Wed, Feb 12, 2014 at 7:21 PM, Claudio <[email protected] <javascript:>
> > wrote:
>
>> Hi guys,
>> just a question on preparaed statements and the like operator.
>>
>> if I have a statement like this:
>> select from test where key like "%value%"
>> and I want to use the prepared statement, how am I supposed to do it?
>>
>> Because if I write:
>> select from test where value like "%?%"
>> the question mark isn't parsed, whereas
>> select from test where value like %?%
>> without the quotes is not valid
>>
>> Any suggestion?
>>
>> Thanks
>>  
>> -- 
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Best regards,
> Andrey Lomakin.
>
> Orient Technologies
> the Company behind OrientDB
>
> 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to