# Column Exists

Checks whether the specified column exists in the table.


---

### ⬅️**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWMsSqlConnectionSettings`](/doc/pawmssqlconnectionsettings-sPYSdWCaH8) | ✅Yes     | Connection information |
| `TableName` | `String` | ✅Yes     | Name of the table the column is checked in |
| `ColumnName` | `String` | ✅Yes     | Column name |


---

### ➡️**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsColumnExistsSuccessful` | `Boolean` | Returns "**True**" if the column exists, "**False**" otherwise. |
| `ColumnExistsMessage` | `String` | Returns the error information received if the operation fails. |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |