skip to main content
Connection property descriptions : ServiceName
  

Try DataDirect Drivers Now

ServiceName

Purpose

The database service name that specifies the database that is used for the connection. The service name is a string that is the global database name—a name that typically comprises the database name and domain name.
This property is useful to specify connections to an Oracle Real Application Cluster (RAC) system rather than a specific Oracle instance because the nodes in a RAC system share a common service name.

Valid values

string
where:
string
is a valid service name.

Example

sales.us.acme.com

Notes

*This property is mutually exclusive with the LDAPDistinguishedName, SID, TNSNamesFile, TNSServerName properties. For more information, see "Using LDAP," "SID," and "Using tnsnames.ora files."

Data source method

setServiceName

Default

None

Data type

String