Re: running os command from pl/sql block

slight warning

Some OS'es will appear kinda weird, would then have to use some sort of
decode to make it more readable

e.g.

XP Prof
SQL> select dbms_utility.port_string from dual;

PORT_STRING
---------------------------------------------------------

IBMPC/WIN_NT-8.1.0

Its not an IBM either, its a dell :-)

SQL> select decode(dbms_utility.port_string, 'IBMPC/WIN_NT-8.1.0','Windows
XP Professional') from dual;

DECODE(DBMS_UTILITY.POR
-----------------------
Windows XP Professional
On 2/1/06, Stephane Faroult <sfaroult@xxxxxxxxxxxx> wrote:
>
>
> Good one. I learned something new today.
>
>
>

Other related posts: