Re: Default schema...
From: Ian Dixon <uidixon!idixon_at_infocom.co.uk>
Date: 19 Mar 93 20:49:46 GMT
Message-ID: <6gnqrA3DBh107h_at_uidixon.uucp>
Date: 19 Mar 93 20:49:46 GMT
Message-ID: <6gnqrA3DBh107h_at_uidixon.uucp>
In <34188_at_nntp_server.ems.cdc.com> btreuman_at_ems.cdc.com (Bob Treumann) writes:
>Use variables for the schema name, and set them under each connection.
>define default=A
>select * from &default.table_a
The result of the substitution wil be:
select * from Atable_a
if you use the sql*plus defaults. The . terminates a variable. Try
select * from &default..table_a
instead
Regards
Ian
-- -- Ian Dixon Email : idixon_at_infocom.co.uk Reading, EnglandReceived on Fri Mar 19 1993 - 21:49:46 CET