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
Ïà¹ØÎÊ´ð£º
ÎÒÓÐÒ»¸ö±í£¬½á¹¹ÊÇÕâÑù¡£
ת³ö µ¥Î» תÈ뵥λ ±ÊÊý ½ð¶î
date(Ö÷) outid(Ö÷) inid(Ö÷) num amt
2009 1 2 1 500 Ϊ 1 µ¥Î» ÔÚ2009Ä ......
ÓÃPL/SQL µÇ½ʱµ¯³ö±¨´í´°¿Ú£¬´íÎóÈçÏ£¡
ORA-01034:ORACLE not available
ORA-27101:shared memory realm does not exist
ÇëÎÊ£¬ÓÐûÓÐÈËÓöµ½ÕâÖÖÇé¿ö£¬Ôõô½â¾ö£¿Ð»Ð»£¡
1. Oracle sid ÕýÈ ......
×öÍædata guard ºó
ÔÚPrimary·þÎñÆ÷ Ö´ÐÐ
SQL>SELECT SEQUENCE#,APPLIED from V$ARCHIVED_LOG ORDER BY SEQUENCE#;
SEQUENCE# APP
---------- ---
13 NO
13 YES ......
CREATE OR REPLACE PROCEDURE usp_refreshTopN
IS
BEGIN
--Îĵµ
INSERT INTO topnresource(resourceId,title,type,cover,brief,properUser,tag,clickAmount,createDate,topNCreateDate,o ......
oracleº¯ÊýÈçÏ£º
create or replace function P_WEB_GETCITYID
(
p_mobileNumber in VARCHAR2,
p_cityid out NUMBER
) Return NUMBER
IS
p_areacode varc ......