Hi, http://karaf.apache.org/manual/latest/#_datasources_jdbc
You need to add quote between your query: jdbc:query myDs "select count (*) from messages where id < 100" Regards JB On 09/05/2016 12:51 PM, conejo wrote:
Hi. Good Morning Is there a manual for jdbc commands? We do not know the sentences to be executed for obtain certain data. For example: jdbc:query myDs select count (*) from messages where id < 100 The cursor is left with the value '>' and you have to press CTRL + C to continue. Or jdbc:query myDS select count(*) from messages where asto like '%H%' Error executing command: bad expression: select count(*) from messages where asto like '%H%' -- View this message in context: http://karaf.922171.n3.nabble.com/jdbc-commands-manual-tp4047859.html Sent from the Karaf - User mailing list archive at Nabble.com.
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
