Previous Next

Returns a valid full database connection string for the Oracle RDBMS on the basis of host name and SID.


oracle:USoftConnectString( hostsid )

If you do not specify host (as in Example 2), the computername of the current computer is used.

If you do not specify sid (as in Example 2), the string XE is used.


Example 1

<pc:evaluate select="oracle:USoftConnectString('MYSERVER', 'MYSID')"/>

The result is:



Example 2

<pc:evaluate select="oracle:USoftConnectString('', '')"/>

The result looks like this:



See also