Here’s an example of passing in a negative value for the first argument. Here’s a basic example to demonstrate how this function works. Y can be an expression of the exact numeric or approximate numeric data type category, except for the bit data type. Where float_expression is an expression of type float or of a type that can be implicitly converted to float, and y is the power with which to raise float_expression. The syntax goes like this: POWER ( float_expression, y ) ![]() The return value is the same data type as the first argument. The function accepts two arguments the first specifies the expression, the second specifies the power with which to raise that expression. ![]() In SQL Server, the T-SQL POWER() function is a mathematical function that returns the value of the specified expression to the specified power.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |