In Oracle, the POWER()
function returns its first argument raised to the power of its second argument.
Category: DBMS
Database Management Systems
REMAINDER() Function in Oracle
In Oracle, the REMAINDER()
function returns the remainder of its first argument divided by its second.
It’s similar to the MOD()
function, except that it uses ROUND()
in its calculation, whereas MOD()
uses FLOOR()
in its calculation.
4 Functions to Get the Hour from a Time Value in MariaDB
Below are 4 functions that enable you to return the hour from a time value in MariaDB.
Continue readingMOD() Function in Oracle
In Oracle, the MOD()
function returns the modulo operation. In other words, it returns the remainder of its first argument divided by its second.
EXP() Function in Oracle
In Oracle, the EXP()
function returns the value of e (the base of natural logarithms) raised to the power of the argument.
The number e, also known as Euler’s number, is a mathematical constant approximately equal to 2.71828.
Continue readingReplace Multiple Characters in a String in SQL Server (T-SQL)
In SQL Server, the REPLACE()
function enables us to replace a string with another string. But what if you want to replace a list of characters with another list of characters?
The TRANSLATE()
function might help.
COSH() Function in Oracle
In Oracle, the COSH()
function returns the hyperbolic cosine of its argument.
COS() Function in Oracle
In Oracle, the COS()
function returns the cosine of its argument.
2 Ways to Unhide an Index in MongoDB
If you have a hidden index in MongoDB, you can use the unhideIndex()
method or the collMod
administration command to unhide it.
ROUND(number) Function in Oracle
In Oracle, the ROUND(number)
function returns a number rounded to a given number of decimal places.
By default, it rounds the number to zero decimal places, but you can provide an optional argument that specifies the number of decimal places to use.
Oracle also has a ROUND(date)
syntax, which is used on dates. This article is solely about the ROUND(number)
syntax, which is used on numbers.