Home » U++ Library support » U++ SQL » How to use Like() with SqlArray
How to use Like() with SqlArray [message #4128] |
Mon, 24 July 2006 00:20  |
zsolt
Messages: 702 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
Hello, I'm trying SQL parts of Ultimate++. It's seems to be very powerful and easy to use, but I have some problems yet.
I want to use Like() function, but the code below is not working for me:
String like_str;
like_str << ~m_edit_find << '%';
m_array.SetWhere(Like(PARTNER_NAME, like_str));
The error message is like this:
Preparing: select PARTNER_ID, PARTNER_NAME, PARTNER_ZIP, PARTNER_CITY, PARTNER_ADDRESS from PARTNER where PARTNER_NAME like binary 'a%' order by PARTNER_NAME
What is the problem? Im using sqlite with upp-605 Windows.
|
|
|
Goto Forum:
Current Time: Tue Aug 12 00:38:33 CEST 2025
Total time taken to generate the page: 0.06127 seconds
|