Skip to main content

Microsoft SQL Server 2012, 2014, 2016, and 2019

Connection Type

ODBC, OLEDB (64-bit)

Driver Details

Bulk write support is available for standard and in-database workflows.

In-Database processing requires 64-bit database drivers.

Type of Support

Read & Write, In-Database

Validated On

Database version: 10, 11, 12, 13

Client version: ODBC Driver 11, 13, 13.1, 17, and 18; OleDB - SQL Server Native Client 10, 11

Alteryx tools used to connect

Standard workflow processing

Input Data Tool

Input Data Tool Icon

Link

Output Data Tool

Output Data Tool Icon

Link

In-Database workflow processing

Connect In-DB Tool

Blue icon with database being plugged in.

Link

Data Stream In Tool

Blue icon with a stream-like object flowing into a database.

Link

Connecting to SQL Server

See Connect to a SQL Server Database.

FileTable Support

For writing to a Microsoft SQL Server FileTable, see Microsoft Excel - Alteryx Driver.

Limitations

  • Maximum Columns In Table: 1024

  • Maximum Column Name Length: 128 characters

  • Maximum Row Size: 8060 bytes ( does not include LOB size )

LOB data must all be at the end of the select. If the user enters a SQL statement that doesn't have them at the end of the statement they get an error, "This ODBC driver requires that all BLOB fields be at the end of the select.". A "select * from table" will move all the LOBs to the end.

There is a limit for SQL Server for varchar(max) of 16777216 characters (read and write). Data above this limit is truncated.