Re: SQLPROMPT in Sql*Plus
From: Bliss <ignorance_is_bliss_at_123india.com>
Date: Sat, 22 Jun 2002 12:02:56 +0800
Message-ID: <3d13f67a_1_at_news.tm.net.my>
Date: Sat, 22 Jun 2002 12:02:56 +0800
Message-ID: <3d13f67a_1_at_news.tm.net.my>
hi,
hope this helps...
regards,
bliss
"Zbrk" <zivjeli_at_veselili.se> wrote in message
news:aev81o$4rr14_at_ns4.bih.net.ba...
> Can I set a sqlprompt in Sql*Plus to value from a variable. I wish to have
> database global_name in the sqlprompt.
> I have tried by creating login.sql file like this but it doesn't work:
>
> var c varchar2(30)
> exec select * from into c from global_name;
> set sqlprompt :c
>
> Thanx
>
>
Received on Sat Jun 22 2002 - 06:02:56 CEST