Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: No data found when passing a variable holds string value to sql query in sap hana procedure

$
0
0

Hello,

 

Thanks for your prompt response and making me to understand the difference.

 

Suppose if we declare:

 

"

variable1 = ' ABC' || ' and PRODUCT_ID = 101';

"

and if we use the above variable in the following statement:

 

"

select * from "SCHEMA1"."TABLE1" where product_name = :variable1 ;

"

 

it takes product id also as the value of product_name and gives no data.  Can you help me on how to handle this?

 

Regards,

Antony Jerald.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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