MicrosoftSqlDescribe
Execute a Microsoft SQL SP_HELP Statement.
Added in version 1.0.0.
Friendly name:
MS-SQL DescribeStep class:
base_steps_syncpack.steps.MicrosoftSqlDescribe.MicrosoftSqlDescribeStep version:
1.1.0Required parameters:
table,database,host,username,password,port
Parameters
Name |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
– |
The database Table Example: |
|
string |
yes |
– |
The database Example: |
|
string |
yes |
– |
The host of the database Example: |
|
string |
yes |
– |
The db username Example: |
|
string |
yes |
– |
The db password Example: |
|
number |
yes |
|
The port number to use when establishing a connection to the remote sql server. |
Every step also accepts the platform parameters common to all steps – see Platform parameters.
Dependencies
Inherits from:
MicrosoftSqlDescribe->BaseStep->SerializableExternal packages:
ipaascommon,ipaascore
Behaviour
Connects through the inherited BaseStep.connect_sql_server and runs
sp_help {table}.
Outputs
A list of tuples from sp_help, or []. Not dicts — unlike
MySqlDescribe, which returns dicts keyed by Field, Type and so
on. The two describe steps are not interchangeable downstream.
Notes
sp_helpreturns several result sets (columns, indexes, constraints), so the output is broader than a plain column list and its layout depends on the SQL Server version.portdefaults to1433, matching MicrosoftSqlSelect but not MicrosoftSqlInsert.