Create Distinct Table

Copies the unique (distinct) rows from an existing table to a new table.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWMsSqlConnectionSettings

✅Yes

Connection information

FromTableName

String

✅Yes

Source table

ToTableName

String

✅Yes

Target table

ColumnNames

String

❌No

Column names to filter


➡️OUTPUT

Parameter

Type

Description

IsCreateDistinctTableSuccessful

Boolean

Returns "True" if the operation succeeds, "False" if it fails.

CreateDistinctTableMessage

String

Returns the error information received if the operation fails.


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".