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

Re: DECLARE not working in SQL Console

$
0
0

Thank you Jamie for your reply. The RowCount is simply a variable that I use to get the count of rows in a table. DECLARE not being supported in SQL Console limits developers on testing their SQL code fragments before using it somewhere else. I hope that SAP supports all SQL functionalists in the SQL Console as that is the easiest way to test your SQL code.

 

As for DUMMY, I am thinking that SQL Console needs a known table variable to store the return value(s) of some SELECT statements and use that to display it in the "result" tab. Otherwise the DUMMY does not seem to serve any other purpose.

 

SELECT 'Hello' FROM DUMMY;

 

Thank you;


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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