Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Single problem
No.
Schema names in static SQL cannot be hostvars
Just make it M4 Dynamic SQL, parse it, describe it, execute it !
(Check Pro*C or PL/SQL supplied packages )
"Epicentre Team A ANNECY" <djeanneret_at_epicentre.fr> wrote in message
news:adkgfq$rvt$1_at_wanadoo.fr...
> Hi
>
>
> We have one schema (environment schema) for many others.
> Problem is that we must have one environment by instance !.
>
> Example
>
> Actually the only way is
> SELECT * from My_env_schem.T1
>
> Is possible to have ...
>
> Variable_Schema_name := 'My_env_schem1';
> SELECT * into RecordStruct From Variable_Schema_name.T1
> Variable_Schema_name := 'My_env_schem2';
> SELECT * into RecordStruct From Variable_Schema_name.T1
>
>
> Bests regards
> Epicentre Team A, Denis
>
>
Received on Wed Jun 05 2002 - 05:22:02 CDT
![]() |
![]() |