Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Escape sign not evaluted correctly in String (SQL WHERE constrained)

$
0
0

Hi all,

 

I use BODS to load data from an Oracle DB to SAP BW on HANA. It works quite nice but now I ran into a problem with the escape sign.

To unload work to the Oracle DB I added a pushdown_sql command (also it is defined in the concept like this) to use reg expression to filter data before (it is more complex like described in this example, because I did not use the BODs functions).

 

It looks like this:

pushdown_sql('Datastore1', 'regexp_like(TEXT.TEXT_COLUMN,\'^\[0-9\]*$\')')

 

The SQL statement looks like this regexp_like(TEXT.TEXT_COLUMN,'^\[0-9\]*$')

 

The escape signs before the brackets are not deleted in the SQL which runs into problems in the selection of the data. But if I delete the escape signs the there is an issue during validation, that BODS thinks there is a variable included in the string.

 

Any ideas if this is a correct behaviour? Looks like a problem during parsing the string.

 

Cheers,

Nils


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>