---
name: "mariadb_dyncol_exists_num"
section: "3"
platform: "linux"
package: "mariadb"
version: "13.0.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mariadb_dyncol_exists_num"
---

# mariadb\_dyncol\_exists\_num(3)

### Name

mariadb\_dyncol\_exists\_num - Check if column with given number exists.

### Synopsis

-

  ```
  enum enum_dyncol_func_result
  mariadb_dyncol_exists_num(DYNAMIC_COLUMN *str,
                            uint column_number);
  ```

### Description

Checks if a column with the specified column key exists.

### Parameter

- •

  `*str` - Dynamic column

- •

  `column_number` - The column number to search for

### Return value

Returns `ER_DYNCOL_YES` if a column with given number exists, `ER_DYNCOL_NO` if no column exists or error.

### See also

- •

  mariadb\_dyncol\_exists\_named

- •

  Dynamic Column Error Codes
