Create Database Connection String (Data Management Tools)
Summary
Creates a connection string that geoprocessing tools can use to connect to a database or an enterprise geodatabase.
Usage
Use this tool, instead of connection files, when you have an automated geoprocessing workflow (script or model) that uses database or enterprise geodatabase datasets. You can generate a connection string that can be used as input to any geoprocessing tool that supports the specified dataset type, rather than using a path to the database through the connection file workspace.
Connections from ArcGIS to Altibase and Netezza are no longer supported.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Database Platform |
Specifies the database platform to which the connection will be made.
|
String |
|
Instance |
The database server or instance to which the connection will be made. This parameter value depends on the Database Platform parameter value chosen. |
String |
|
Database Authentication (Optional) |
Specifies the type of authentication that will be used.
|
Boolean |
|
Username (Optional) |
The database user name that will be used when using database authentication. |
String |
|
Password (Optional) |
The database user password that will be used when using database authentication. |
Encrypted String |
|
Database (Optional) |
The name of the database to which you will connect. This parameter only applies to PostgreSQL and SQL Server platforms. |
String |
|
Dataset Object Name (Optional) |
The name of the dataset or object in the database to which the connection string will point. This connection string can be used as a path to the specified dataset. |
String |
|
Data type (Optional) |
The type of dataset or object referred to in the dataset object name. If there are multiple objects with the same name in the database, you may need to specify the data type of the object for which you want to make a connection string. |
String |
|
Target Feature Dataset (Optional) |
The name of the feature dataset containing the dataset or object for which you want to make a connection string. If the dataset is not in a feature dataset (for example, if it's at the root of the database), do not specify a target feature dataset. |
String |
|
Schema (Oracle user schema geodatabases only) (Optional) |
User-schema geodatabases are no longer supported. |
String |
|
Version Type (Optional) |
Specifies the type of version to which you will connect. This parameter only applies when connecting to a geodatabase. Note:If Historical is selected and a name is not provided, the default transactional version is used. If Point in time is selected and a date is not provided in the Date and Time parameter, the default transactional version is used.
|
String |
|
The following version will be used (Optional) |
The geodatabase transactional version or historical marker to connect to. The default option uses the default transactional version. If you choose a branch version type, the connection is always to the default branch version. |
String |
|
Date and Time (Optional) |
The value representing the date and time that will be used to connect to the database. This parameter is used with archive-enabled data. Use the time picker to choose the appropriate date. If manually entering a date, the following formats can be used:
Note:
|
Date |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
CIMDATA Connection String |
The CIMDATA connection string. |
String |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes