Endpoint List Columns
Name
get_metadata_columns
Description
Parameters
| Parameter | Required | Options |
|---|---|---|
|
Name:
Label: TableName |
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| EntityName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| Name |
DT_WSTR
|
nvarchar(500)
|
500 | |
| Type |
DT_WSTR
|
nvarchar(500)
|
500 | |
| MaxLength |
DT_I4
|
int
|
||
| FixedLength |
DT_WSTR
|
nvarchar(50)
|
50 | |
| Unicode |
DT_WSTR
|
nvarchar(50)
|
50 | |
| Precision |
DT_I4
|
int
|
||
| Scale |
DT_I4
|
int
|
||
| KeyName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| Nullable |
DT_WSTR
|
nvarchar(50)
|
50 | |
| StoreGeneratedPattern |
DT_WSTR
|
nvarchar(100)
|
100 | |
| EdmxVersion |
DT_R8
|
float
|
||
| SchemaNamespace |
DT_WSTR
|
nvarchar(500)
|
500 | |
| SchemaXmlns |
DT_WSTR
|
nvarchar(500)
|
500 | |
| DataServiceVersion |
DT_R8
|
float
|
||
| MaxDataServiceVersion |
DT_R8
|
float
|
If the column you are looking for is missing, consider customizing OData Connector.
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
SSIS
Use OData Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - OData
Read and write OData API data effortlessly. Query, integrate, and manage entities and feeds — almost no coding required.
OData
List Columns
| Optional Parameters | |
|---|---|
| TableName | * |
API Destination
API Destination - OData
Read and write OData API data effortlessly. Query, integrate, and manage entities and feeds — almost no coding required.
OData
List Columns
| Optional Parameters | |
|---|---|
| TableName | * |
ODBC application
Use these SQL queries in your ODBC application data source:
List columns
SELECT * FROM get_metadata_columns
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List columns
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_metadata_columns';
EXEC (@MyQuery) AT [LS_TO_ODATA_IN_GATEWAY];