I wonder what is analog of SQL SERVER newid() command in Denodo (VQL)? My ultimate goal is to randomly sample data in Denodo.
Asked
Active
Viewed 404 times
2 Answers
1
You can try the encrypt function, as it provides a guid for a value, it generates different values for same input.

newbie
- 1,282
- 3
- 20
- 43

Shashank Paturkar
- 11
- 1
1
You can get a random sample of a query by combining a LIMIT command with RAND()...
SELECT *, RAND() AS rnd
FROM table
ORDER BY rnd
LIMIT 100;

Mark Ainsworth
- 11
- 1