MathPow SQL Math Function

The MathPow() function takes two (2) arguments and returns the pecified number raised to the specified power. It uses Double as value. It can be written in math format as Value ^ Power e.g. 2^1 = 2 If numbers are out of Double range which is set in .NET, it will return "Infinity".

Syntax MathPow( Value , Power )

		/* Following will return 4 */ 
SELECT MathPow(2, 2);