Table of Contents

Oracle Database - Connect Identifier

About

A connect idenfier is the part of the connect string when a users initiate a connection to designate the service to which they want to connect to.

The connect identifier is :

One of the most common connect identifiers is a net service name, a simple name for a service.

CONNECT username@connect_identifier

Articles Related

Syntax

Connect identifiers used in a connect string cannot contain spaces, unless enclosed within single quotes (') or double quotes (”). In the following examples, a connect identifier and a connect descriptor that contain spaces are enclosed within single quotes:

CONNECT scott/tiger@'(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)
(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=sales.us.acme.com)))'
CONNECT scott/tiger@'cn=sales, cn=OracleContext, dc=us, dc=acme, dc=com'

Single quotes (') are required if a double quote (”) is used in a connect identifier. For example:

CONNECT scott/tiger@'sales@Good"Fast"Food.com' 

Likewise, double quotes (”) are required if a single quote (') is used in a connect identifier. For example:

CONNECT scott/tiger@"cn=sales, cn=OracleContext, ou=Mary's Dept, o=acme" 
  • Bookmark "Oracle Database - Connect Identifier" at del.icio.us
  • Bookmark "Oracle Database - Connect Identifier" at Digg
  • Bookmark "Oracle Database - Connect Identifier" at Ask
  • Bookmark "Oracle Database - Connect Identifier" at Google
  • Bookmark "Oracle Database - Connect Identifier" at StumbleUpon
  • Bookmark "Oracle Database - Connect Identifier" at Technorati
  • Bookmark "Oracle Database - Connect Identifier" at Live Bookmarks
  • Bookmark "Oracle Database - Connect Identifier" at Yahoo! Myweb
  • Bookmark "Oracle Database - Connect Identifier" at Facebook
  • Bookmark "Oracle Database - Connect Identifier" at Yahoo! Bookmarks
  • Bookmark "Oracle Database - Connect Identifier" at Twitter
  • Bookmark "Oracle Database - Connect Identifier" at myAOL
 
database/oracle/connect_identifier.txt · Last modified: 2011/06/15 20:56 by gerardnico