# Create Distinct Localdata

Creates a new table with the unique records from the source table.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `FromLocalDataName` | `String` | ✅Yes     | Source table name |
| `ToLocalDataName` | `String` | ✅Yes     | Target table name |
| `ColumnName` | `String` | ❌No      | Columns to apply distinct to (comma-separated) |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsCreateDistinctLocalDataSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `CreateDistinctLocalDataMessage` | `String` | Returns the error information received if the operation fails. |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error (default: No) |