Oracle Objects for OLE
Release 8.1.7

Part Number A85257-01

Library

Product

Contents

Name Property

See Also

Applies To

OraClient

OraField

OraParameter

OraSession

OraParamArray

OraServer

Description

Returns the name used to identify the given object. Not available at design time and read-only at run time.

Usage

client_name = oraclient.Name

field_name = orafield.Name

parameter_name = oraparameter.Name

paramarray_name = oraparamarray.Name

session_name = orasession.Name

server_name = oraserver.Name

Remarks

oraclient.Name returns the name of the specified OraClient object. This value is always "<local>".

orafield.Name returns the name of the specified OraField object. If this is a true database field (not an alias), this usage returns the name of the field as it appears on the server. If a SQL statement was executed that contains, for example, calculated select list items or column aliases, then the name is the actual text provided in the SELECT statement.

oraparameter.Name returns the name of the specified OraParameter object. In addition to identifying the parameter within a parameters collection, the parameter name is also used to match placeholders within SQL and PL/SQL statements for the purposes of parameter binding.

oraparamarray.Name returns the name of the specified OraParamArray object. In addition to identifying the parameter within a parameters collection, the parameter name is also used to match placeholders within SQL and PL/SQL statements for the purposes of parameter binding.

orasession.Name returns the name of the specified OraSession object. For automatically created sessions, this is the name assigned by the system (usually a hexadecimal number). For user-created sessions, this is the name originally provided in the CreateSession method. Once created, a session name cannot be changed.

oraserver.Name returns the name of the physical connection of the specified OraServer object.

Data Type

String


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents