Logo 
Search:

SQL Server Articles

Submit Article
Home » Articles » SQL Server » Math FunctionsRSS Feeds

SQRT Function

Posted By: Sarita Patel     Category: SQL Server     Views: 3718

This article explains SQUARE function of sql server with examples.

SQRT function is used to calculate square root of the specified number.


Syntax of SQRT Function :

SQRT (float_expression)

float_expression is a numeric value of type float.

Return type of SQUARE function is float.



Examples of SQRT Function :

Example 1 : Use of SQRT function in select clause

SELECT SQRT(25)

Output
5

Above example returns square root of specified numeric value 25.
  
Share: 

 
 
 

Didn't find what you were looking for? Find more on SQRT Function Or get search suggestion and latest updates.

Sarita Patel
Sarita Patel author of SQRT Function is from United States.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!