Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

Re: Is there any function like rand() or newid() supported by HANA?

$
0
0

 

Select TOP 3 RAND(),* from table_name orderbyRAND();

 

This should give you a random order.

And there for 3 different rows each time.

 


Viewing all articles
Browse latest Browse all 2756

Latest Images

Trending Articles



Latest Images

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