SQLServer
Supported Version
How to create an SQLServer Load Node
-- MySQL extract node
CREATE TABLE `mysql_extract_table`(
`id` BIGINT,
`name` STRING,
`age` INT
) WITH (
'connector' = 'mysql-cdc-inlong',
'username' = 'inlong',
'password' = 'inlong',
'table-name' = 'user'
)
-- SQLServer load node
CREATE TABLE `sqlserver_load_table`(
`id` BIGINT,
`name` STRING,
) WITH (
'connector' = 'jdbc-inlong',
'url' = 'jdbc:sqlserver://localhost:1433;databaseName=column_type_test',
'username' = 'inlong',
'password' = 'inlong',
'table-name' = 'dbo.work1'
)
-- write data into SQLServer
INSERT INTO sqlserver_load_table
Data Type Mapping