Complex MsSql To Localdata

Runs a complex SQL query and saves the result to localdata.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWMsSqlConnectionSettings

✅Yes

Connection information

Query

String

✅Yes

The desired query statement.

LocalDataName

String

✅Yes

Name of the Local Data table the data is to be saved to.

AppendIfExists

Boolean

❌No

If "True" is given and the table to be saved already exists, the records are appended to the existing table. If "False" is given, the table is recreated every time. The default value is "False".


➡️OUTPUT

Parameter

Type

Description

IsComplexMsSqlToLocalDataSuccessful

Boolean

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

ComplexMsSqlToLocalDataMessage

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".