× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am creating REST Web Services using SQL as a Web service and am stuck on two things.


1. Having a space in the parameter.
I need to select records from the DB where there may be a space in the selection parameter.
For example, for API /students/name/{name} I would specify /students/name/John Smith, but I can't seem to get this to work.


1. Using LIKE in the SQL.

I would also like to be able to select using the SQL LIKE comparison. For example, the SQL for /students/name/{name} would be:

SELECT * FROM STUDENTDB WHERE "fullName" LIKE ?

Thank you in advance for any help. It is greatly appreciated!
- Lee

Lee Paul
Surround Technologies, LLC















As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.