SQL Server
Stream Pipelines is compatible with SQL Server 2014 and later versions, and supports these SQL Server services:
- Amazon RDS for SQL Server
- Azure SQL Database
- Azure SQL Managed Instance
To establish a connection, ensure that the database endpoint can be accessed publicly through a JDBC connection. In Stream Pipelines, users are authenticated through a database password.
The database tables are not created automatically by Stream Pipelines. You must create the database tables manually in SQL Server. Ensure that the column names and data types match the properties of the corresponding objects. Additionally, the column names in your tables must match the case sensitivity of the object property names.
To deliver data through Pipelines successfully, refer to this table. This table shows the data types of the Data Catalog object properties and their corresponding SQL Server data types:
Category | Data Catalog data type | SQL Server data type |
---|---|---|
Date and Time data types | Datetime:
|
DATETIME2 DATETIMEOFFSET DATETIME SMALLDATETIME |
Datetime:
|
VARCHAR or another string type | |
Date:
|
DATE | |
Time:
|
VARCHAR or another string type | |
Time:
|
TIME | |
Datetime:
|
BIGINT | |
Numeric data types | Integer:
|
BIT |
Integer:
|
SMALLINT | |
Integer:
|
INT | |
Integer:
|
BIGINT | |
Number | NUMERIC DECIMAL FLOAT REAL |
|
Logical data types | Boolean | BIT |
String | VARCHAR - NVARCHAR CHAR - NCHAR TEXT - NTEXT |
|
Object | VARCHAR or another string type |
{"desc":
{"en_US":"Blue Car", "de_DE": "Blaues Auto", "es_ES": "Coche Azul"},
, then only
"Blue Car"
as the first value is stored in the table column.