The database service name that specifies the database that is used for the connection. This property is mutually exclusive with the SID property. 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.
If using a tnsnames.ora file to provide connection information, do not specify this property. See Using tnsnames.ora Files for information about specifying the database service name using a tnsnames.ora file.