Connect to an Oracle Database
This procedure describes the easiest method for connecting to an Oracle database. If you do not have the appropriate Oracle driver installed, Alteryx prompts you to install it.
2. In the Configuration window, select the Connect a File or Database dropdown menu. Then, select Data sources. In the Oracle section, select Quick connect.
3. Alteryx Designer checks your system for an Oracle driver.
- If a driver that you can use to connect to Oracle already exists, you see the Oracle Database Connection window. Proceed to the next step.
- If you don't have a driver installed, you see the Oracle Client Not Found window. Select an installation location and then click Install to download and install the Oracle Instant Client driver. The installation location must have at least 2 GB of free space. For information about this driver, see Oracle.
4. In Connection Name, type a new connection name or select an existing connection. Designer stores new connections in the Manage Data Connections window.
- Select an existing connection:
- View and select any System connection or any User connection you've created.
- Data Source Name (DSN) connections configured in the ODBC driver aren't listed. To configure ODBC and OLEDB connections, see ODBC and OLEDB database connections.
- Modify an existing connection:
- When you select an existing connection, you can modify all connection properties except Type.
- If you are an admin, you can modify any System connection or any User connection you've created.
- If you are a non-admin user, you can only modify User connections you've created.
- If you modify a connection property (for example, Host), you must re-enter your password.
5. Select a connection Type:
- User: Creates a connection that only you can use. User connections are visible only by the user who created them.
- System: (Selectable only by administrator users) Creates a connection for any user on a machine. System connections are visible by all users.
6. In Host, type the Oracle database server host name or IP address.
7. Type the Port number for the Oracle database. The default value is 1521.
8. Type a Service Name, if desired. The service name defaults to the global database name if you leave this field blank.
9. Type your Credentials for the server. See Manual connection setup for more information on authentication requirements.
10. Click Test to test the connection.
11. Click OK.
If you connect to an Oracle database that contains Unicode® encoded data, select Force SQL WChar Support in the Input Data tool Configuration window. Designer then treats character columns as SQL_WCHAR, SQL_WVCHAR, or SQL_WLONGVARCHAR.
Alternate Oracle connection methods
For ODBC and OLEDB connection instructions, see ODBC and OLEDB database connections.
If an admin has already configured a TNS server:
- Select Other Databases > Oracle OCI.
- Provide the TNS server name and your credentials.
- Click OK.