## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> POWER[POWER]:::quoted POWER --> End((END)) ``` ## Purpose The `POWER` SQL function gets a value of a number raised to another. See also [[SQRT]] and [[EXP]]. Parameters: - Value (`decimal`): a number. - Exponent (`decimal`): a number. Returns: the value of a number raised to another. ## Examples The following example retrieves 2 raised to the power 10: ```sql select power(2, 10) ------------------- 1024 ``` The following example retrieves 9 raised to the power 0.5, being the square root of 9: ```sql select power(9, 0.5) ------------------- 3 ```