# Localdata To MsSql

Transfers data from Local Data to an MsSQL table. Supports filtering and column selection.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWMsSqlConnectionSettings`](/doc/pawmssqlconnectionsettings-sPYSdWCaH8) | ✅Yes     | Connection information |
| `LocalDataName` | `String` | ✅Yes     | LocalData name |
| `Filter`  | `String` | ❌No      | WHERE condition |
| `ColumnNames` | `String` | ❌No      | Comma-separated column list |
| `TableName` | `String` | ❌No      | Target table name |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsLocalDataToMsSqlSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `LocalDataToMsSqlMessage` | `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**". |