Sybernet / Supplied Functions Reference
Release 3.00
Oct 14, 2002
backwards forwards

HTTP.OBJECT_ID

This function returns the OBJECT_ID of any valid or invalid object. This function also recognizes both Sybase and Oracle naming conventions.

Syntax

FUNCTION OBJECT_ID
(
    OBJECTNAME                    VARCHAR2
)
RETURN NUMBER;

Parameters

Parameter Description
objectname
 
The case-insensitive name of the object.

Returns

The OBJECT_ID of this object or NULL if not found.

Example 1

The following example illustrates how to retrieve the object_id using Sybase naming conventions:

select http.object_id('HTTP.dbo.HTTP_REGISTER') from dual;

Example 2

The following example illustrates how to retrieve the object_id using Oracle naming conventions:

select http.object_id('HTTP.HTTP_REGISTER@ORAPROD') from dual;



Sybernet is a trademark of SRI International.
Copyright © 1996-2009 SRI International. All Rights Reserved.
Denis D. Workman / http://Sybernet.sri.com/