{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Integrations","type":"markdown"},"seo":{"title":"Microsoft SQL Server Import Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"microsoft-sql-server-import-integration","__idx":0},"children":["Microsoft SQL Server Import Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/microsoft-sql-server-tables-export-integration"},"children":["Learn more about Microsoft SQL Server Tables Export Integration"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This article describes how to use the data connector for Microsoft SQL Server, which allows you to directly import data from your Microsoft SQL Server to Treasure Data."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For sample workflows on how to import data from your Microsoft SQL Server, view ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/master/td_load/sql_server"},"children":["Treasure Boxes"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Basic knowledge of Treasure Data"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Basic knowledge of Microsoft SQL Server"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A Microsoft SQL Server instance running ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["remotely"]},", for example on RDS."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"supportedsql-server-versions","__idx":2},"children":["Supported SQL Server Versions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Microsoft SQL Server 2022 (Driver 13.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Microsoft SQL Server 2019 (Driver 13.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Microsoft SQL Server 2017 (Driver 13.2.x, Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Microsoft SQL Server 2016 (Driver 13.2.x, Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Microsoft SQL Server 2014 (Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Microsoft SQL Server 2012 (Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Microsoft SQL Server 2008 R2 (Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Azure SQL Database (Driver 13.2.x, Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Azure SQL Data Warehouse or Parallel Data Warehouse (Driver 13.2.x, Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• Azure SQL Managed Instance (Extended Private Preview) (Driver 13.2.x, Driver 7.2.x)"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"use-the-treasure-console-to-create-your-connection","__idx":3},"children":["Use the Treasure Console to Create Your Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can use the Treasure Console to configure your connection."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create-a-new-connection","__idx":4},"children":["Create a New Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you configure a data connection, you provide authentication to access the integration. In Treasure Data, you configure the authentication and then specify the source information."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Go to Integrations Hub ->  Catalog and search and select Microsoft SQL Server."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mssqltile.8e9463b5dd47f74d1593fc06d953a8d76ffb9dc5713817e1c908f273f687c4d7.53f040ef.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following dialog opens."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/unadjustednonraw_thumb_34.0eccea67146d6dfae1bc7c365762112760f8232e83fac86765e8f1ec0270c31f.53f040ef.jpg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Provide the required credentials, including the host name, port, user name and password required to access Microsoft SQL Server."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/unadjustednonraw_thumb_35.375b2e45d46508591169dd358db6699df178945cf30765a66a5babb87c22bd93.53f040ef.jpg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you add the option encrypt=true and your certificate can't be validated, you need to add the option trustServerCertificate=true to bypass the certificate validation."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Name your new Microsoft SQL Server Connection. Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"transfer-your-microsoft-sql-server-data-to-treasure-data","__idx":5},"children":["Transfer Your Microsoft SQL Server Data to Treasure Data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You created your authenticated connection, now you create the source connection."," ","Complete the details and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/source_creation.1cfd1fbc782226c2d3d3bb8c924bfdb4d3a5e05150246ef8baf1587b110c78d8.53f040ef.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you want to specify the schema, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use custom SELECT query"]}," as follows:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/source_creation_custom_query.287c59ccb5662f1b29064229c76710b381f11af70d4bf85a446beb4fb00f0455.53f040ef.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"preview","__idx":6},"children":["Preview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You’ll see a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/about-data-preview"},"children":["preview"]}," of your data. To make changes, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced Settings"]}," otherwise, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/unadjustednonraw_thumb_3a.e90756b663ed5316dccd5c1b0455799edbfbd7705e739063bd5864021001d397.53f040ef.jpg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Choose the Target Database and Table"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Choose an existing or create a new database and table where you want to transfer data to:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/unadjustednonraw_thumb_3c.2a6795708f6a8d2c9d4a38ee05abe2da9997c2c63d5838cb1b8e8801f1b2b4d1.53f040ef.jpg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create new database and give your database a name. Complete similar steps for ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create new table."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select whether to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["append"]}," records to an existing table or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["replace"]}," your existing table."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you want to set a different ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["partition key seed"]}," rather than use the default key, you can specify one."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"scheduling","__idx":7},"children":["Scheduling"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," tab, you can specify a one-time transfer, or you can schedule an automated recurring transfer. If you select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Once now,"]}," select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Transfer."]}," If you select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Repeat…"]}," specify your schedule options, then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule Transfer."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/unadjustednonraw_thumb_3d.95885abce5169b2092d105ae287bdf32013f54ddee46dfe3ac7d3287045bd955.53f040ef.jpg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Name your Source connector. You can just save the connector or select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/unadjustednonraw_thumb_3e.a2ec3743addb1fbec57860c783f264d5605d09d7441112eb2d39f52854f54fa0.53f040ef.jpg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"use-command-line-to-create-your-microsoft-sql-server-connection","__idx":8},"children":["Use Command-Line to Create Your Microsoft SQL Server Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can use the CLI to configure your connection."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"install-td-command","__idx":9},"children":["Install ‘td’ command"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Install the newest ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create-seed-config-file-seedyml","__idx":10},"children":["Create Seed Config File (seed.yml)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Prepare ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["seed.yml"]}," with your Microsoft SQL Server access information:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: sqlserver\n  host: sqlserver_host_name\n  port: 1433\n  user: test_user\n  password: test_password\n  driver_version: 7.2.x\n  database: test_database\n  table: test_table\nout:\n  mode: replace\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This example will dump all records inside the table. You can have more detailed control with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/embulk/embulk-input-jdbc/tree/master/embulk-input-sqlserver"},"children":["additional parameters"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more details on available out modes, see the Appendix below."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"guess-fields-generate-loadyml","__idx":11},"children":["Guess Fields (Generate load.yml)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Next use connector:guess. This command automatically reads the target data, and intelligently guesses the data format."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td connector:guess seed.yml -o load.yml\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you open up load.yml, you’ll see guessed file format definitions including, in some cases, file formats, encodings, column names, and types."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"optional-preview-data-to-be-imported","__idx":12},"children":["Optional: Preview data to be imported"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can preview data to be imported using the command td connector:preview."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:preview load.yml\n+---------+--------------+----------------------------------+------------+---------------------------+\n| id:long | name:string  | description:string               | price:long | created_at:timestamp      |\n+---------+--------------+----------------------------------+------------+---------------------------+\n| 1       | \"item name1\" | \"26e3c3625366591bc2ffc6e262976e\" | 2419       | \"2014-02-16 13:01:06 UTC\" |\n| 2       | \"item name2\" | \"3e9dd9474dacb78afd607f9e0a3366\" | 1298       | \"2014-05-24 13:59:26 UTC\" |\n| 3       | \"item name3\" | \"9b6c9e4a140284d3951681e9e047f6\" | 9084       | \"2014-06-21 00:18:21 UTC\" |\n| 4       | \"item name4\" | \"a11faf5e63c1b02a3d4c2b5cbb7331\" | 669        | \"2014-05-02 03:44:08 UTC\" |\n| 6       | \"item name6\" | \"6aa15471c373ddc8a6469e1c918f98\" | 3556       | \"2014-03-29 08:30:23 UTC\" |\n+---------+--------------+----------------------------------+------------+---------------------------+\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"execute-load-job","__idx":13},"children":["Execute Load Job"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Finally, submit the load job. The job may take a couple of hours to run depending on the data size. Users need to specify the database and table where their data is stored."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["It is recommended to specify --time-column option, since Treasure Data’s storage is ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/data-partitioning-in-treasure-data"},"children":["partitioned by time"]},". If the option is not given, the Data Connector will choose the first long or timestamp column as the partitioning time. The type of the column specified by --time-column must be either of long and timestamp type."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If your data doesn’t have a time column you may add it using add_time filter option. More details at ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/add_time-filter-function"},"children":["add_time filter plugin"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The above command assumes you have already created ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["database(td_sample_db)"]}," and ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["table(td_sample_table)"]},". If the database or the table do not exist in TD this command will not succeed, so create the database and table ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/data-management"},"children":["manually"]}," or use --auto-create-table option with td connector:issue command to auto create the database and table:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table --time-column created_at --auto-create-table\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can assign Time Format column to the \"Partitioning Key\" by \"--time-column\" option."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can load records incrementally by specifying columns in your table by utilizing the incremental_columns and last_record options."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: sqlserver\n  host: sqlserver_host_name\n  port: 1433\n  user: test_user\n  password: test_password\n  driver_version: 13.2.x\n  database: test_database\n  table: test_table\n  incremental: true\n  incremental_columns: [id, sub_id]\n  last_record: [10000, 300]\nout:\n  mode: append\n  exec: {}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Then plugin will automatically recreate query and sort value at internal."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"# when last_record wasn't given\nSELECT * FROM(\n    ...original query is here\n)\nORDER BY id, sub_id\n\n::: terminal\n# when last_record was given\nSELECT * FROM(\n    ...original query is here\n)\nWHERE id > 10000 OR (id = 10000 AND sub_id > 300)\nORDER BY id, sub_id\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you’re using with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/scheduling-jobs-using-td-console"},"children":["scheduled execution"]},", plugin will automatically generate last_record and hold it internally. Then you can use it at next scheduled execution."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  type: sqlserver\n  ...\nout:\n  ...\n\nConfig Diff\n---\nin:\n  last_record:\n  - 20000\n  - 400\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["query"]}," option can't available when you set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental: true"]},"."," ","Only strings and integers are supported as incremental_columns."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| --- |"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"scheduled-execution","__idx":14},"children":["Scheduled execution"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can schedule periodic Data Connector execution for periodic Microsoft SQL Server import. We carefully configure our scheduler to ensure high availability. By using this feature, you no longer need a cron daemon on your local data center."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A new schedule can be created using the td connector:create command. The name of the schedule, cron-style schedule, the database and table where their data will be stored, and the Data Connector configuration file are required."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:create \\\n    daily_sqlserver_import \\\n    \"10 0 * * *\" \\\n    td_sample_db \\\n    td_sample_table \\\n    load.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cron"]}," parameter also accepts three options: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@hourly"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@daily"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@monthly"]},". | By default, schedule is setup in UTC timezone. You can set the schedule in a timezone using -t or --timezone option. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--timezone"]}," option only supports extended timezone formats like 'Asia/Tokyo', 'America/Los_Angeles' etc. Timezone abbreviations like PST, CST are *not* supported and may lead to unexpected schedules."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"appendix","__idx":15},"children":["Appendix"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"modes-for-out-plugin","__idx":16},"children":["Modes for out plugin"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can specify file import mode in out section of load.yml."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"append-default","__idx":17},"children":["append (default)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is the default mode and records are appended to the target table."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  ...\nout:\n  mode: append\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"replace-in-td-01110-and-later","__idx":18},"children":["replace (In td 0.11.10 and later)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This mode replaces data in the target table. Any manual schema changes made to the target table will remain intact with this mode."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  ...\nout:\n  mode: replace\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"further-information","__idx":19},"children":["Further Information"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/embulk/embulk-input-jdbc/tree/master/embulk-input-sqlserver"},"children":["List of Options for Microsoft SQL Server Data Connector"]}]}]}]},"headings":[{"value":"Microsoft SQL Server Import Integration","id":"microsoft-sql-server-import-integration","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Supported SQL Server Versions","id":"supportedsql-server-versions","depth":2},{"value":"Use the Treasure Console to Create Your Connection","id":"use-the-treasure-console-to-create-your-connection","depth":2},{"value":"Create a New Connection","id":"create-a-new-connection","depth":3},{"value":"Transfer Your Microsoft SQL Server Data to Treasure Data","id":"transfer-your-microsoft-sql-server-data-to-treasure-data","depth":3},{"value":"Preview","id":"preview","depth":3},{"value":"Scheduling","id":"scheduling","depth":3},{"value":"Use Command-Line to Create Your Microsoft SQL Server Connection","id":"use-command-line-to-create-your-microsoft-sql-server-connection","depth":2},{"value":"Install ‘td’ command","id":"install-td-command","depth":3},{"value":"Create Seed Config File (seed.yml)","id":"create-seed-config-file-seedyml","depth":3},{"value":"Guess Fields (Generate load.yml)","id":"guess-fields-generate-loadyml","depth":3},{"value":"Optional: Preview data to be imported","id":"optional-preview-data-to-be-imported","depth":3},{"value":"Execute Load Job","id":"execute-load-job","depth":3},{"value":"Scheduled execution","id":"scheduled-execution","depth":3},{"value":"Appendix","id":"appendix","depth":3},{"value":"Modes for out plugin","id":"modes-for-out-plugin","depth":4},{"value":"append (default)","id":"append-default","depth":4},{"value":"replace (In td 0.11.10 and later)","id":"replace-in-td-01110-and-later","depth":4},{"value":"Further Information","id":"further-information","depth":2}],"frontmatter":{"seo":{"title":"Microsoft SQL Server Import Integration"}},"lastModified":"2026-06-01T09:09:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/int/microsoft-sql-server-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}