Skip to main content

MSSQL

This page describes how to configure Microsoft SQL Server (MSSQL) Source and Target gems, including connection setup, schema options, and available write modes. Use the MSSQL Source or Target gem to read from or write to the SQL server within your pipeline.

Configuration tabs

When you create a new external Source or Target gem, the gem dialog contains the following tabs.

  • Type: Select the MSSQL table option.
  • Source/Target location: Choose the connection and define the location where you will read/write tables in MSSQL.
  • Properties: Infer or manually specify the schema, and optionally add properties that influence table behavior.
  • Preview: Load a preview of the dataset reflecting your configurations.

The following sections provide a detailed reference for sources and targets.

Source configuration

Use these settings to configure an MSSQL Source gem for reading data.

Source location

ParameterDescription
Format typeTable format for the source. For MSSQL tables, set to mssql.
Select or create connectionSelect or create a new MSSQL connection in the Prophecy fabric you will use.
DatabaseDatabase containing the table you want to read from.
SchemaSchema within the database where the table is located.
NameExact name of the MSSQL table to read data from.

Source properties

Infer or manually configure the schema of your Source gem. Optionally, add a description for your table. Additional properties are not supported at this time.

Target configuration

Use these settings to configure an MSSQL Target gem for writing data.

Target location

ParameterDescription
Format typeTable format for the source. For MSSQL tables, set to mssql.
Select or create connectionSelect or create a new MSSQL connection in the Prophecy fabric you will use.
DatabaseDatabase where the target table will be created or updated.
SchemaSchema within the database where the target table resides or will be created.
NameName of the MSSQL table to write data to. If the table doesn’t exist, it will be created automatically.

Target properties

PropertyDescriptionDefault
DescriptionDescription of the table.None
Write ModeWhether to overwrite the table, append new data to the table, or throw an error if the table exists.None