dinner with Tom Kyte in Zurich
In the evening we will have a dinner in Zurich.
Drop me a comment if you intend to come !
Oracle Certified Master
date '2000-01-01'
date '2000-01-01' +
avg(txndate-date '2000-01-01')
timestamp
'2000-01-01 00:00:00.000000000 Etc/GMT+0'
timestamp '2000-01-01 00:00:00'
time '00:00:00.000000000 +00:00'
time '00:00:00'
interval '1' day
q'[let's quote this]'
revoke CREATE DATABASE LINK from CONNECT;
revoke ALL on SYS.UTL_FILE from PUBLIC;
revoke ALL on SYS.UTL_HTTP from PUBLIC;
revoke ALL on SYS.UTL_SMTP from PUBLIC;
revoke ALL on SYS.UTL_TCP from PUBLIC;
grant EXECUTE on SYS.UTL_FILE to XDB;
grant EXECUTE on SYS.UTL_HTTP to MDSYS;
grant EXECUTE on SYS.UTL_HTTP to ORDPLUGINS;
@?/rdbms/admin/utlrp
SQL> select * from dept connect by 1=2;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
SQL> select * from dept connect by 1=1
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
10 ACCOUNTING NEW YORK
...
SELECT * WHERE telephone_number = 6505551212;
select level from dual connect by level < :N
SCOTT@LSC69/7.3.4.5
SQL> select * from
(select level l from dual
connect by level < 10);
ERROR:
ORA-01436: CONNECT BY loop in user data
SCOTT@LSC65/8.1.7.4
SQL> select * from
(select level l from dual
connect by level < 10);
ERROR:
ORA-01436: CONNECT BY loop in user data
select stragg(distinct ename) from emp;