On Tue, Apr 07, 2015 at 04:36:39PM -0400, Gang Fu wrote:

> In the bash shell, we need to take care of single quote by converting ' to
> '"'"'.

Gang --

You can avoid some issues and debug more easily by using isql's run
file syntax.

temp_file=`mktemp /somedir/tmpXXXXX`
$command_to_generate_procedure > $temp_file &&
isql 1111 dba $dba_password $temp_file

If there are any issues, you can look at the temporary file to debug
quoting and the like.

- Morty

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to