15.01.2013 Views

Oracle Database 11g The Complete Reference (Osborne ORACLE ...

Oracle Database 11g The Complete Reference (Osborne ORACLE ...

Oracle Database 11g The Complete Reference (Osborne ORACLE ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FORMAT<br />

SYS_DBURIGEN<br />

( { column | attribute } [rowid]<br />

[, { column | attribute } [rowid]]...<br />

[, 'text( )'] )<br />

DESCRIPTION SYS_DBURIGEN takes as its argument one or more columns or attributes, and<br />

optionally a ROWID, and generates a URL of datatype DBUriType to a particular column or row<br />

object. You can then use the URL to retrieve an XML document from the database.<br />

All columns or attributes referenced must reside in the same table. <strong>The</strong>y must perform the function<br />

of a primary key. That is, they need not actually match the primary keys of the table, but they must<br />

reference a unique value. If you specify multiple columns, all but the final column identify the row in<br />

the database, and the last column specified identifies the column within the row.<br />

By default the URL points to a formatted XML document. If you want the URL to point only to the<br />

text of the document, specify the optional 'text()'. (In this XML context, the lowercase 'text' is a keyword,<br />

not a syntactic placeholder.)<br />

SYS_EXTRACT_UTC<br />

SEE ALSO Chapter 10<br />

FORMAT<br />

SYS_EXTRACT_UTC ( datetime_with_timezone )<br />

DESCRIPTION SYS_EXTRACT_UTC extracts the UTC (Coordinated Universal Time) from a datetime<br />

with time zone displacement.<br />

SYS_GUID<br />

FORMAT<br />

SYS_GUID ( )<br />

DESCRIPTION SYS_GUID generates and returns a globally unique identifier (RAW value) made up<br />

of 16 bytes. On most platforms, the generated identifier consists of a host identifier and a process or<br />

thread identifier of the process or thread invoking the function, and a nonrepeating value (sequence of<br />

bytes) for that process or thread.<br />

SYS_TYPEID<br />

SEE ALSO Chapter 38<br />

FORMAT<br />

SYS_TYPEID ( object_type_value )<br />

DESCRIPTION SYS_TYPEID returns the type ID of the most specific type of the operand. This value is<br />

used primarily to identify the type-discriminant column underlying a substitutable column. For example,<br />

you can use the value returned by SYS_TYPEID to build an index on the type-discriminant column.<br />

SYS_XMLAGG<br />

SEE ALSO SYS_XMLGEN, Chapter 45<br />

FORMAT<br />

SYS_XMLAGG ( expr [fmt] )<br />

SYS_XMLAGG 1265

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!