13 March 2006

Oracle Wish List

I started filling in the wishes on this list in '98 and has been changing/expanding it over the years. Some of the "wishes" are now possible.

Comments:
Hi Tanya,

Very interesting article.

Reading through the wishlist at the end of the article, the one about dynamic aliases... this can be done on Windoze using the DOSKEY program and sqlplus: -

C:\> doskey /exename=sqlplus.exe sl=select * from $*

C:\> sqlplus user/pwd
SQL> sl dual;

D
-
X

SQL>

I have this setup : -

DOSKEY /EXENAME=sqlplus.exe con+=conn $1@(description=(ADDRESS=(PROTOCOL=TCP)(HOST=$2)(PORT=$3))(connect_data=(service_name=$4)))
...so I can :-
SQL> conn+ user2/pwd mach01 1521 PROD1
Connected.

...to connect without having to use a tnsnames.ora, just the host, port, sid|servicename details.
You can have multiple "aliases defined by specifying multiple "doeskey exename=sqlplus.exe" definitions before logging into sqlplus.

Regards,

Gaz
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?