1. Sgn() Function :
sgn() function returns sign of a number.if the number is positive then it returns 1 if number is equal to 0 then it returns 0 otherwise if number is less than 0 then it return -1.
Syntax :
Sgn(number)
Example-1 :
SELECT Sgn(93.5) AS SgnNum;
Output –
| SgnNum |
|---|
| 1 |
Example-2 :
SELECT Sgn(-93.5) AS SgnNum;
Output –
| SgnNum |
|---|
| -1 |
2. Sqr() Function :
Sqr() function returns the square root of a number. In this function, a number will be passed as a parameter and it will return the square root of that number.Number must be positive.
Syntax :
Sqr(number)
Example-1
SELECT Sqr(100) AS SqrNum;
Output-
| SqrNum |
|---|
| 10 |
Example-2
SELECT Sqr(169) AS SqrNum;
Output –
| SqrNum |
|---|
| 13 |
Recommended Posts:
- Hex() and Oct() Function Function in MS Access
- SLN() and SYD() Function Function in MS Access
- DDB () and FV() Function Function in MS Access
- Val() and Sum() Function in MS Access
- StrConv() and StrReverse() Function in MS Access
- Chr() and Asc() Function in MS Access
- InStr() and InstrRev() Function in MS Access
- LCase() and UCase () Function in MS Access
- Str() and StrComp() Function in MS Access
- Replace() and Space() Function in MS Access
- Exp() and Count() Function in MS Access
- Mid() and Len() Function in MS Access
- LTrim() and RTrim() Function in MS Access
- Left() and Right() Function in MS Access
- Rnd() and Round Function in MS Access
- Max() and Min() function in MS Access
- Fix() and Format() Function in MS Access
- Second() and Time() Function in MS Access
- MonthName() and Now() function in MS Access
- Month() and Minute() Function in MS Access
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

