Does Vertica have a quotient function?
Quotient is the number of times a divisor goes into the dividend. Does Vertica have a function to do this?
0
The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.
Join us there to post discussion topics, learn about
product releases, share tips, access the blog, and much more.
Comments
No we do not have that funtion but you can try as:
trader1849=> select trunc(11/3)::int;
trunc
-------
3
(1 row)
trader1849=> select trunc(8/3)::int;
trunc
-------
2
(1 row)
Regards,
Bhawana
Thank you for the update, I will mark this as "answered".
Regards,
Bhawana