Executes the given resultset query/statement and returns a DataTable.
Syntax
Smartsite SXML | Copy Code |
---|---|
any sql.execute(string sql) any sql.execute(string sql, any[ ] parameters) |
Parameters
Name | Data Type | Description |
---|---|---|
sql | String | SQL statement. |
parameters | Any[ ] | Parameters for the specified sql statement. |
Return Value
Data Type | Description |
---|---|
Any | Result of the specified statement. |