Welcome to the Alteryx Knowledge Base
How To: Create an In-Database Connection
Created/Edited -
How To
Prerequisites
- Alteryx Designer
- Windows Operating System
Procedure
Apart from making standard database connections, which allow for data to be pulled from the database directly into Alteryx, Designer also has In-Database functionality. The In-Database tools allow for the workflow created to be converted into a query which will then be executed on the database, and not locally in Designer.
- In Designer, drag and drop the Connect In-DB tool (located in the In-Database tool palette) onto the canvas
- Select the “Manage Connections…” option to establish a new In-DB connection
- The Manage In-DB Connections window should appear. To configure this window:
- Select the Data Source/Database type from the Data Source drop-down.
- Under Connection Type, select User, System or File connection.
- For file connections, see this article: Guide to setting up In-DB Connection Files on a Network Drive
- On the server, make sure to select a System Connection. If you do not see the System option available, see this article: Unable to create System Connection/System Connection type missing. For more information about In-DB workflows on server, see this article: How to run In-DB workflows on server without using a connection file
- Under Connections, select New.
- Under Connection Name, enter a name for this connection.
- Under Driver, select the method of connection to use.
- Click the Connection String drop-down. You can choose to use an existing connection or create a new connection by clicking the New database Connection…option. You can also paste in the full connection string if you have it available.
- Repeat steps 5 and 6 for the Write tab.
- Click OK. If the connection was successful, the Choose Table or Specify Query window should appear.
- The connection will now be stored in the Connection Name drop-down.
Additional Information
Was this article helpful?