---
title: "POTENCIA"
description: "La funci\u00F3n POWER de SQL obtiene el valor de un n\u00FAmero elevado a otro."
language: es
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/es/docs/invantive-universalsql/grammar/sql-functions/power
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/power
updated: 2026-12-04T14:11:07Z
license: https://documentation.invantive.eu/es/
---

## Sintaxis
```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))
```

## Propósito
La función SQL `POWER` devuelve el valor de un número elevado a otro.

Véanse también [[SQRT]] y [[EXP]].

Parámetros:
- Valor (`decimal`): un número.
- Exponente (`decimal`): un número.

Devuelve: el valor de un número elevado a otro.

## Ejemplos
El siguiente ejemplo muestra la imagen 2 elevada a la potencia 10:
```sql
select power(2, 10)

-------------------
1024
```
El siguiente ejemplo calcula 9 elevado a 0.5, que es la raíz cuadrada de 9:
```sql
select power(9, 0.5)

-------------------
3
```

