Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Obtaining number of rows after select statement in SQL Script

$
0
0

HI,

 

I am trying to read a database table e.g. Employee in the table variable v_employee.

 

v_employee = select * from Employee where Name = 'John';

 

 

Now, I wish to know the number of rows in the table variable v_employee. How to achieve this?

 

I tried using Cursors but not getting correct result.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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