Quantcast
Channel: SCN : Popular Discussions - SAP Information Steward
Viewing all articles
Browse latest Browse all 2039

SQL script issue

$
0
0

hello experts,

 

I am new to BOIS and wrote below statement in the rule:

 

$aa = SQL('connection', 'SELECT count(*) FROM table 1 where field1 = \'$parameter0\''' );      $parameter0 is varchar

if ($aa > 0 )

    return true;

else

    return false;

....

 

 

The issue is if I use a constant instead of  the parameter like (where field1 = \'1000\') the result is correct.

But if I use parameter like above, the result is always false.

 

Could you please let me know where is my fault.  thank you in advance.


Viewing all articles
Browse latest Browse all 2039

Trending Articles



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