oracleÖеÄ4¸öÎÊÌâ - Oracle / »ù´¡ºÍ¹ÜÀí
1.ʹÓÃsysµÇ½,ÈçºÎ²é¿´ÄĸöÓû§ÏµĶÔÏóÕ¼ÓõĴÅÅÌ¿Õ¼ä×î´ó?
2.Ö´Ðвéѯʱ±¨´í:ORA-01652:ÎÞ·¨Í¨¹ý128(ÔÚ±í¿Õ¼äTEMPÖÐ)À©Õ¹temp¶Î£¬²»ÖªÊÇʲôÔÒò£¿
3.ÊäÈë:Ò»¸ö×Ö·û´®¡°35,36,380¡±
ÒªÇóÉú³É3ÐÐÊý¾Ý£¬ÈçÏ£º
35
36
380
ÓÃsqlÔõôд£¿
4.ʹÓÃselect * from dba_users; µÃµ½passwordֵȫΪ¿Õ£¬²»ÖªÔÒò?
°ï¶¥£¡³õѧÕߣ¡À´Ñ§Ï°µÄ£¡ºÇºÇ
3.
select substr(regexp_substr(',' || '35,36,380', ',([^,]+)', 1, level), 2) as "item"
from dual
connect by level <= length(regexp_replace('35,36,380', '[^,]', '')) + 1
SQL code:
4.
SQL> select password from dba_users;
PASSWORD
------------------------------
9CC0ECDD8721C8E3
C89E957D620BC4ED
3FB8EF9DB538647C
84B8CBCA4D477FA3
5AC67B98FA46369E
88A2B2C183431F00
B97545C4DD2ABE54
88D8364765FCE6AF
4AA37D1393FD7BB5
4C6D73C3E8B0F0DA
CE4A36B8E06CA59C
ORA-01652ÕâÖÖÎÊÌâÒ»°ãÓÐÁ½ÖÖÔÒò£ºÒ»ÊÇÁÙʱ±í¿Õ¼ä¿Õ¼ä̫С£¬¶þÊDz»ÄÜ×Ô¶¯À©Õ¹£»
3.
SQL code:
select replace('35,36,37',',',chr(10)) from dual
SQL code:
SQL> select
Ïà¹ØÎÊ´ð£º
ÎÒÊÇÓÃÔ¶³Ì×ÀÃæÁ¬²Ù×÷·þÎñÆ÷ÉϵÄÊý¾Ý¿â¡£
ÔÚ´´½¨Ò»¸öÓû§Ö®ºó£¬ÔÙÓÃPLSQLµÇ¼£¬ÔòPLSQLËÀµôÁË¡£
ÎҹصôPLSQLÖ®ºó£¬ÓÃÆäËûÓû§Ò²²»ÄܵǼ¡£
ÎÒ°ÑoracleµÄ·þÎñÍ£Ö¹£¬½á¹û¾ÍÊÇoracleµÄ·þÎñ״̬¾ÍÍ£ÁôÔÚ¡°Í ......
ÎÒÓÐÒ»¸ö±í£¬½á¹¹ÊÇÕâÑù¡£
ת³ö µ¥Î» תÈ뵥λ ±ÊÊý ½ð¶î
date(Ö÷) outid(Ö÷) inid(Ö÷) num amt
2009 1 2 1 500 Ϊ 1 µ¥Î» ÔÚ2009Ä ......
ÔÚÖ´ÐаüµÄʱºòÒýÓÃoracle spatial¿Õ¼äº¯Êý³ö´í£¬³ö´íÇé¿öÈçÏÂ
Errors in file
/user/oracle/app/oracle/admin/grid/udump/grid1_ora_143768.trc: ORA-29902:
error in executing ODCIIndexStart() routine ORA-0 ......
--½¨Á¢Ò»¸ö°üÒÔ¶¨ÒåÒ»¸öÓαê
create or replace package PK_test
as
type cur_test is ref cursor;
end PK_test;
--½¨Á¢Ò»¸ö¹ý³Ì,ͨ¹ýÊäÈëJOBID£¬·µ»ØÒ»¸ö±í¼Ç¼£¨Óα꣩!
create or replace ......
ͨ¹ýNAME×Ö¶ÎÌõ¼þ²éѯһ¸öÊý¾Ý±í£¬¼ÙÉèÎÒÓÐ100¸öÐÕÃû£¬ÓÐÒÔÏÂÁ½¸ö·½·¨£¬
·½·¨1£º
°Ñ100¸öName ×é³ÉÒ»¸öSQLÓï¾ä£¬±ÈÈç Select * from tmp_table where Name='ÕÅÈý' or Name ='ÀîËÄ' Or ...Or Name='µÚÒ»°Ù¸öÐÕÃû'
......