Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Prepare, Blend, and Analyze SQL Server Data in Alteryx Designer
Build workflows to access live SQL Server data for self-service data analytics.
Alteryx is a software platform that allows people to work with data more easily. When paired with CData Connect Cloud, Alteryx provides instant access to SQL Server data from your data automation processes. This article demonstrates how to connect to SQL Server using Connect Cloud and work with SQL Server data in Alteryx.
CData Connect Cloud offers a dedicated SQL Server interface for SQL Server, facilitating data querying without the need for data replication to a native database. With built-in optimized data processing capabilities, CData Connect Cloud efficiently directs all supported SQL operations, including filters and JOINs, straight to SQL Server. This harnesses server-side processing to rapidly retrieve the desired SQL Server data.
Configure SQL Server Connectivity for Alteryx
Connectivity to SQL Server from Alteryx is made possible through CData Connect Cloud. To work with SQL Server data from Alteryx, we start by creating and configuring a SQL Server connection.
- Log into Connect Cloud, click Connections and click Add Connection
- Select "SQL Server" from the Add Connection panel
-
Enter the necessary authentication properties to connect to SQL Server.
Connecting to Microsoft SQL Server
Connect to Microsoft SQL Server using the following properties:
- Server: The name of the server running SQL Server.
- User: The username provided for authentication with SQL Server.
- Password: The password associated with the authenticating user.
- Database: The name of the SQL Server database.
Connecting to Azure SQL Server and Azure Data Warehouse
You can authenticate to Azure SQL Server or Azure Data Warehouse by setting the following connection properties:
- Server: The server running Azure. You can find this by logging into the Azure portal and navigating to "SQL databases" (or "SQL data warehouses") -> "Select your database" -> "Overview" -> "Server name."
- User: The name of the user authenticating to Azure.
- Password: The password associated with the authenticating user.
- Database: The name of the database, as seen in the Azure portal on the SQL databases (or SQL warehouses) page.
- Click Create & Test
- Navigate to the Permissions tab in the Add SQL Server Connection page and update the User-based permissions.
Connect to SQL Server from Alteryx
Once you establish a connection to SQL Server in Connect Cloud, you are ready to work with SQL Server data in Alteryx. To begin, download the ODBC Driver for CData Connect.
- In the ODBC Driver for CData Connect, select OAuth and click Test Connection. Then enter your CData Connect Cloud Credentials and Sign in.
- Open Alteryx Designer and create a new workflow.
- Drag and drop a new input data tool onto the workflow.
- Click the drop down under Connect a File or Database and select the Data sources tab.
- Navigate to the end of the page and click on ODBC under Generic connection.
- Select the DSN that you configured for use in Alteryx.
- In the wizard that opens, drag and drop the table to be queried in the Query Builder box. Select the fields by checking the boxes that you wish to include in your query. Where possible, the complex queries generated by the filters and aggregations will be pushed down to your data source, while any unsupported operations (which can include SQL functions and JOIN operations) will be managed client-side by the CData SQL engine embedded in the connector.
To further customize the dataset, you can open the SQL Editor and modify the query manually, adding clauses, aggregations, and other operations to ensure that you are retrieving exactly the data desired.
With the query defined, you are ready to work with your data in Alteryx Designer.
Get CData Connect Cloud
To get live data access to 100+ SaaS, Big Data, and NoSQL sources directly from your SQL Server database, try CData Connect Cloud today!