Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

OracleÖеÄ5¸öÎÊÌâ - Oracle / »ù´¡ºÍ¹ÜÀí

ÈçÌâ:
1.16½øÖÆÊýÔÚת»¯³É10½øÖÆÊýʱ³ö´í
SQL code:

SQL> select to_char(125,'xxxx') from dual;

TO_CHAR(125,'XXXX')
--------------------------------------------------------------------------------
7d

SQL> select to_char(7d,'xxx') from dual;

TO_CHAR(7.0E+000D,'XXX')
--------------------------------------------------------------------------------
7

SQL> select to_char(to_char(125,'xxxx'),'xxx') from dual;

select to_char(to_char(125,'xxxx'),'xxx') from dual

ORA-01722: ÎÞЧÊý×Ö


2.Ë÷Òý¸ß¶ÈÊÇʲôһ¸ö¸ÅÄî: pga_aggregate_target?
3.analyze index indexname validate structureÓÐʲôÓã¿--ÅжÏÊÇ·ñÐèÒªÖØ½¨Ë÷Òý?
4.ÒÔÏ´úÂëÔõÑù²ÅÄÜÊä³ö¡°Test successed!¡±
SQL code:

SQL> set serveroutput on;
SQL> create or replace and compile java source named test_java as
2 public class FirstJava{
3 public static void test(){
4 System.out.println("Test successed!");
5 }
6 };
7 /

Java created

SQL>
SQL> create or replace procedure test_java is
2 language java name 'FirstJava.test()';
3 /

Procedure created

SQL> exec hello;

PL/SQL procedure successfully completed



5.ÍâÁª½ÓÌá¸ß±íÁ¬½ÓµÄ²éѯËÙ¶È£¿

&nb


Ïà¹ØÎÊ´ð£º

[Ô­´´] ORACLE Á¬½Ó×Ö´® - Oracle / ·Ç¼¼ÊõÇø

¼ÙÉètable01 ÖÐÓÐ ÒÔÏÂ×ÊÁÏ
emp_no emp_name
------- ------------
0001 TOM
0002 JOHN
0003 MARY
³£Óõ绰 
¶øÎÒÃÇÒªµÃµ½ÒÔϵÄOUTPUT (»òÊǸ÷ÖÖÆäËûµÄoutput)
0001,TOM
0002,JOHN ......

oracle³õѧÕßÄãÇë½Ì - Oracle / »ù´¡ºÍ¹ÜÀí

--½¨Á¢Ò»¸ö°üÒÔ¶¨ÒåÒ»¸öÓαê
create or replace package PK_test 
as 
type cur_test is ref cursor;
end PK_test;
--½¨Á¢Ò»¸ö¹ý³Ì,ͨ¹ýÊäÈëJOBID£¬·µ»ØÒ»¸ö±í¼Ç¼£¨Óα꣩!
create or replace ......

·ÖÏí×Ô¼ºµÄOracleÅäÖùý³Ì - Oracle / »ù´¡ºÍ¹ÜÀí

Ð»Ð»ÌÆÈËÀÏ´óµÄÖ¸µã£¬Ð»Ð»¸÷λ¸ßÊÖµÄÖ¸µã£¡
°²×°10g Enterprise¡£ÉÏÍøÏÂÁËMLDNµÄOracleÊÓÆµ£¬¸ú×ÅÊÓÆµÉϵÄÅäÖÃ×ߣ¬°²×°³É¹¦ÁË£¬µ«ÊÇûÍêÕûµØÅäÖá£
µã»÷½øÈ룺Database Configuration Assistant
1. ´´½¨Êý¾Ý¿â£» ......

SQL·ÖÒ³ÓëOracle·ÖÒ³µÄÒÉÎÊ£¿ - Java / Web ¿ª·¢

ÕâÀïÏëÁ˽âÏ£¬¹ØÓÚSQL ServerÖзÖÒ³ºÍOracleÖзÖÒ³£»
ƽ³£Ð´Ó¦ÓóÌÐòµÄʱºò£¬±ÈÈçÓõÄÓïÑÔÊÇJava£¬ÓиöÁбíÒ³Ãæ£¬ÐèÒª¶ÔÊý¾Ý·ÖÒ³ÏÔʾ£»
ÕâÀïÒª·ÖÒ³ÄѵÀ²»ÐèÒª½èÖúJava£¬¶øÖ±½ÓsqlÄÜÖªµÀ·ÖÒ³Âð£¬ÆðÂëÒ²Òª´«¸öÒ³Âë½ ......

oracle ´æ´¢¹ý³Ì¸Ä³É ÊÂÎï Ôõôд°¡ - Oracle / ¿ª·¢

CREATE OR REPLACE PROCEDURE usp_refreshTopN
 IS
 BEGIN
 
--Îĵµ
INSERT INTO topnresource(resourceId,title,type,cover,brief,properUser,tag,clickAmount,createDate,topNCreateDate,o ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ