Inbedded SQL in a Perl script issue with wildcard % -


the below extract taken perl script failing because need escape % symbol in not 'ie%'. know how can easily?

my @odests = keys %$d;  foreach $ndestid (@odests) {     $sres .= sprintf "\nselect * symbol_destinations dest_id = %d , symbol in (select sedol symbols currency = 'gbx' , isin not 'ie%')"; } # each dest 

in printf/sprintf, can use %% insert literal percent sign.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -