Re: set current schema does not work on Live SQL

From: Luis Santos <lsantos_at_pobox.com>
Date: Fri, 13 Oct 2017 10:46:19 -0300
Message-ID: <CAPWdmV9s_P_EJeyC_tui0ey0v1Wgfy0xcJZWC=D2fe3y87=CjA_at_mail.gmail.com>





Thanks a lot for your kindly reply.

Did you got any other info from LiveSQL godfather? 馃槉

*--*
*Att*

*Luis Santos*

2017-09-29 10:20 GMT-03:00 Jeff Smith <jeff.d.smith_at_oracle.com>:

> I鈥檓 pretty sure this is locked down/not allowed. Not sure exactly why it
> doesn鈥檛 give an error message.
>
>
>
> I鈥檒l be with the LiveSQL godfather this coming week for OOW, I鈥檒l ask him
> then 馃槉
>
>
>
> *From:* Luis Santos [mailto:lsantos_at_pobox.com]
> *Sent:* Friday, September 29, 2017 9:11 AM
> *To:* ORACLE-L <oracle-l_at_freelists.org>
> *Subject:* set current schema does not work on Live SQL
>
>
>
> I麓m trying to set the default schema on Live SQL (livesql.oracle.com) by
> issuing, for example:
>
>
>
> *alter session set current schema = HR;*
>
>
>
> The weird is that this command does not result on an error. So, it seems
> that is been accepted.
>
>
>
> But does not have any affect. I still should denominate the schema before
> a table name...
>
>
>
> Is there a way to define the default schema on Live SQL?
>
>
>
>
>
> 路 Statement53
>
> alter session set current_schema=scott
>
> Statement processed.
>
> 路 Statement54
>
> 路 SELECT empno,
>
> 路 ename,
>
> 路 job,
>
> 路 sal
>
> 路 FROM emp
>
> ORDER BY sal
>
> ORA-00942: table or view does not exist
>
> 路 Statement55
>
> 路 SELECT empno,
>
> 路 ename,
>
> 路 job,
>
> 路 sal
>
> 路 FROM scott.emp
>
> ORDER BY sal
>
> *EMPNO*
>
> *ENAME*
>
> *JOB*
>
> *SAL*
>
> 7369
>
> SMITH
>
> CLERK
>
> 800
>
> 7900
>
> JAMES
>
> CLERK
>
> 950
>
> 7876
>
> ADAMS
>
> CLERK
>
> 1100
>
> 7654
>
> MARTIN
>
> SALESMAN
>
> 1250
>
> 7521
>
> WARD
>
> SALESMAN
>
> 1250
>
> 7934
>
> MILLER
>
> CLERK
>
> 1300
>
> 7844
>
> TURNER
>
> SALESMAN
>
> 1500
>
> 7499
>
> ALLEN
>
> SALESMAN
>
> 1600
>
> 7782
>
> CLARK
>
> MANAGER
>
> 2450
>
> 7698
>
> BLAKE
>
> MANAGER
>
> 2850
>
> 7566
>
> JONES
>
> MANAGER
>
> 2975
>
> 7902
>
> FORD
>
> ANALYST
>
> 3000
>
> 7788
>
> SCOTT
>
> ANALYST
>
> 3000
>
> 7839
>
> KING
>
> PRESIDENT
>
> 5000
>
> Download CSV
> <https://livesql.oracle.com/apex/f?p=590:6:14869123796473::LEVEL1:RP::&cs=3yHKDCeqflGt5zxBwzFqQQ3rDb1LU6GAv8DCoyrve9Zs60iITGgNa1sNOxFpMrgodPO7igTf9WG5Lnnys60zIAA>
> 14 rows selected.
>
>
>
> *--*
>
> *Att*
>
> *Luis Santos*
>
> *[image: Image removed by sender.]*
>



--
http://www.freelists.org/webpage/oracle-l



_WRD084.jpg
(image/jpeg attachment: _WRD084.jpg)

Received on Fri Oct 13 2017 - 15:46:19 CEST

Original text of this message