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

oracle ´æ´¢¹ý³Ì×Ö·û´®³ö´í - Oracle / »ù´¡ºÍ¹ÜÀí

´æ´¢¹ý³ÌÖж¨ÒåµÄÒ»¸ö×Ö·û´®£¬ÔÚto_dateº¯Êý³ö´í¡£³ö´í´úÂëÈçÏ£ºÍû¸ßÈ˽â´ð£º
month_str:='select count(t.var_id) from wjc_inde_data_his t where t.var_id like ''%R'' and
  t.data_time>=to_date('||start_month||',''YYYY-MM-DD HH24:MI:SS'') and
  t.data_time<to_date('||stop_month||',''YYYY-MM-DD HH24:MI:SS'')';

´íÎóÌáʾ£º
ORA-00907: ȱʧÓÒÀ¨ºÅ
ORA-06512: ÔÚ "WJC.CALHISMIS", line 32
ORA-06512: ÔÚ line 1
start_month Íⲿ±äÁ¿?»¹ÊÇ....
Íⲿ±äÁ¿¼Ó:

Íⲿ±äÁ¿´«Èë.´¦Àíºó¸³Óèstart_monthºÍstop_month


SQL code:
--¸Ä³ÉÕâÑùÊÔÊÔ
month_str:='select count(t.var_id) from wjc_inde_data_his t where t.var_id like ''%R'' and
t.data_time>=to_date('''||start_month||''',''YYYY-MM-DD HH24:MI:SS'') and
t.data_time<to_date('''||stop_month||''',''YYYY-MM-DD HH24:MI:SS'')';


µ÷ÊÔÁËÏÂÄãµÄÓï¾ä
SQL code:
declare
month_str varchar2(200);
begin
month_str:='select count(t.var_id) from wjc_inde_data_his t where t.var_id like ''%R'' and
t.data_time>=to_date('||sysdate||',''YYYY-MM-DD HH24:MI:SS'') and
t.data_time<to_date('||sysdate||',''YYYY-MM-DD HH24:MI:SS'')';
dbms_output.put_line(month_str);
end;

µÃµ½½á¹û
select count(


Ïà¹ØÎÊ´ð£º

oracle·þÎñ״̬ÏÔʾ ¡°Í£Ö¹¡±

ÎÒÊÇÓÃÔ¶³Ì×ÀÃæÁ¬²Ù×÷·þÎñÆ÷ÉϵÄÊý¾Ý¿â¡£
ÔÚ´´½¨Ò»¸öÓû§Ö®ºó£¬ÔÙÓÃPLSQLµÇ¼£¬ÔòPLSQLËÀµôÁË¡£
ÎҹصôPLSQLÖ®ºó£¬ÓÃÆäËûÓû§Ò²²»ÄܵǼ¡£

ÎÒ°ÑoracleµÄ·þÎñÍ£Ö¹£¬½á¹û¾ÍÊÇoracleµÄ·þÎñ״̬¾ÍÍ£ÁôÔÚ¡°Í ......

oracle °²×° 01092 ´íÎó - Oracle / »ù´¡ºÍ¹ÜÀí

oracle 11g °²×° 01092 ´íÎó,
ÈÕÖ¾ÐÅÏ¢£º
[oracle@linux trace]$ vi alert_orcl.log 
MMON started with pid=14, OS id=9089
RESETLOGS after incomplete recovery UNTIL CHANGE 522752
Errors in file / ......

sqlÓÅ»¯ - Oracle / »ù´¡ºÍ¹ÜÀí

select count(1) from FX_RETURNBOOKCHECKLIST fxreturnbo0_ where fxreturnbo0_.BOOKID='164 ' AND fxreturnbo0_.RETURNID='00025.S0000001' 
ÉÏÃæÒ»¸ö¼òµ¥µÄSQL,Ö´ÐÐʱ¼ä2.6à ......

javaºÍoracle - °¤ÌßÖ°ÑÄ / ²ÅÈëÖ°³¡

±¾ÈËÏÖÔÚѧoracle ËãÊǸոÕÈëÒ»°ëÃÅ ÒÔºó»¹ÒªÑ§java ¸÷λ´óÏÀoracleºÃÈëÊÖ»¹ÊÇjavaºÃÈëÊÖ°¡ ÒÔºóÄǸö·½Ãæ·¢Õ¹»áºÃЩ
£¬ÎÒÔÝʱÓиöÏë·¨ÏëºÃºÃѧϰһÏÂÊý¾Ý¿âÒÔºóÍùÕâ·½±ã·¢Õ¹£¬±Ï¾¹Êý¾Ý¿â¸úл»´úûÓÐjavaÄÇô¿ì£¬²» ......

ÅäÖû·¾³±äÁ¿oracleÔÚ XP - Oracle / »ù´¡ºÍ¹ÜÀí

ÅäÖû·¾³±äÁ¿oracleÔÚ XP
 ÐüÉÍ·Ö£º105 - ½â¾öʱ¼ä£º2008-9-23 23:39 
ÎÒÖ»°Ñoracle×°ÔÚÁËE:\oracleÖÐ
»·¾³±äÁ¿²»ÖªµÀÈçºÎÅäÖÃ.

XPϰ²×°ORACLE ûÓÐÐèÒªÅäÖõĻ·¾³±äÁ¿
¿ÉÒÔͨ¹ýEMÅäÖÃÏ·þÎñÃûº ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ