Complex MsSql To Datatable

Runs a complex SQL query and returns the result as a DataTable.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWMsSqlConnectionSettings

✅Yes

Connection information

Query

String

✅Yes

The desired query statement.


➡️OUTPUT

Parameter

Type

Description

IsComplexMsSqlToDatatableSuccessful

Boolean

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

ComplexMsSqlToDatatableMessage

String

Returns the error information received if the operation fails.

ComplexMsSqlToDatatableResult

DataTable

Collection data resulting from the operation.


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

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