SQRT is a Teradata function in Teradata which gives us sqare root.
It will compute the square root of the input supplied.
Syntax:-
SQRT (input)
It accept only float values that too in positive. If you provide negative of character values then it will through error.
Example:-
It will compute the square root of the input supplied.
Syntax:-
SQRT (input)
It accept only float values that too in positive. If you provide negative of character values then it will through error.
Example:-
SELECT SQRT(4);
Result:- 2
No comments:
Post a Comment