Sqlplus for Windows

From: Mark Styles <news_at_lambic.co.uk>
Date: Mon, 25 Mar 2002 17:19:47 GMT
Message-ID: <nqmu9u84jip26guqn68uj6dabigne7t6p3_at_4ax.com>


[Quoted] I'm using SQL*Plus for Windows (version 3.3 or version 8, doesn't matter), and I want to be able to call it from a .bat file like this:

start c:\orant\bin\plus33w.exe _at_%1%

However, when I drag a file onto this bat file, I don't get a connect dialog as I would expect. Instead it goes straight to the password prompt.

How can I force SQL*Plus to give me a connect dialog?

I can get around it by putting the connect string into the bat file, but although this is very convenient, it's a big security hole.

Also, is there any way to default the database I connect to?

Thanks Received on Mon Mar 25 2002 - 18:19:47 CET

Original text of this message