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

ÐÂÊÖÌáÎÊ oracle ´æ´¢¹ý³ÌÎÊÌâ

д¸ö´æ´¢¹ý³Ì
±íTMP
NAME  TYPE
СÃ÷  1
С¶þ  1

Èç¹ûÓÐTYPE Ϊ1µÄ ·µ»Ø 1 »¹ÓРСÃ÷,С¶þ      ûÓзµ»Ø0
û¿´Ã÷°×£¬Ôõô¸ö·µ»Ø·¨£¿

·µ»ØÊä³ö²ÎÊý  Ö´Ðнá¹û Èç¹ûÓмǼΪ1 ûÓÐΪ0
ÓмǼ ÊäÈë²ÎÊýÓû§Ãû×Ö×éºÏ  СÃ÷,С¶þ

Ϊʲô²»×Ô¼º³¢ÊÔдһ¸öÄØ£¿

ÔÚд ÀÏÊÇÓÐÎÊÌâ Õâ¸öµÄд·¨»¹²»´óÇå³þ



shiyiwan µÄ wm_concat(NAME) Õâ¸öÊÇʲôÒâ˼ѽ

Õâ¸öº¯Êý Õâ±ßºÃÏñ²»ÐÐ ¸ÃÔõô½â¾ö?

Õâ¸öº¯ÊýÊÇ°Ñͬ×éµÄ¼Ç¼Á¬½ÓÆðÀ´£¬ÔÚÕâÀïЧ¹û¾ÍÊÇ°Ñ
СÃ÷
С¶þ
±ä³É
СÃ÷£¬Ð¡¶þ
ÕâÑùµÄЧ¹û

Êý¾Ý¿âÊÇ10ÒÔÏÂÂ𣬿ÉÒÔ×Ô¼ºÐ´Ò»¸öº¯Êý£¬µ÷ÓÃÕâ¸ö½â¾ö

http://topic.csdn.net/u/20090616/09/d70860d6-ca63-445e-85d7-dad95256b021.html
#9

ÕâÊÇ10gµÄº¯Êý
ÄãµÄÊý¾Ý¿âʲô°æ±¾µÄ

9 µÄ  ²»Ö§³Ö µÃ×Ô¼ºÐ´º¯ÊýÁË

¿ÉÒԵģ¬ÉÔµÈÏÂ

SQL code:
create or replace procedure proc(p_type in varchar2,p_result out varchar2)
as
v_count number;
begin
select count(1) into v_count from tmp
where type=p_type;
if v_count=0 then p_result:='0';
else
select substr(max(sys_connect_by_path(name,',')),2) into p_result from (
select name,row_number()over(order by rownum)rn from tmp
where type=p_type)
connect by prior rn=rn-1
start with rn=1;
end if;
end proc;



Ïà¹ØÎÊ´ð£º

delphi Ôõô½«oracleµÄlong raw ×Ö¶ÎÖµ µ¼Èëblob×Ö¶Î

delphi Ôõô½«oracleµÄlong raw ×Ö¶ÎÖµ µ¼Èëblob×Ö¶Î

http://blog.csdn.net/zxf_feng/archive/2008/12/21/3571961.aspx
¿´¿´Õâ¸ö

ÒýÓÃ
            vStream := TMemorySt ......

OracleÎÊ´ðÌâ,´ð¶ÔÓзÖ,²»¶ÔÓйÄÀø·Ö

ÂÒÂë²úÉúÊÇÓÉÓÚ¼¸¸ö×Ö·û¼¯Ö®¼äת»»²»Æ¥ÅäÔì³É£¬·ÖÒÔϼ¸ÖÖÇé¿ö£º£¨×¢£º×Ö·û¼¯Ö®¼äÈç¹û²»´æÔÚ×Ó¼¯¡¢³¬¼¯¶ÔÓ¦¹ØϵʱµÄÇé¿ö²»Ó迼ÂÇ£¬ÒòΪÕâÖÖÇé¿öÏÂ×Ö·û¼¯Ö®¼äת»»±Ø²úÉúÂÒÂ룩

    1£©·þÎñÆ÷¶ËÊý¾Ý¿ ......

ÇóʹÓÃt-sqlÓï¾ä½«paradoxÊý¾Ýµ¼ÈëoracleµÄ°ì·¨

ʹÓÃt-sqlÓï¾ä½«sqlserver2kÊý¾Ýµ¼ÈëparadoxµÄ¹¦ÄÜÎÒÒÑʵÏÖ£¬ÓõÄÊÇinsert into ... from table in [ODBC][ODBC;Driver=SQL Server...]µÄ°ì·¨£¬µ±ÎÒ×¼±¸Èç·¨ÅÚÖÆÍê³Éparadoxµ¼Èëoracleʱȴ²»ÐУ¬²»±¨´íµ«ÊÇÖ´ÐкóÃ»Ó ......

¹ØÓÚORACLE×Ö·û¼¯

ÏÂÃæÕâ¶Î»°:
¿Í»§ÖÕ¶Ë×Ö·û¼¯£¬nls_lang»·¾³±äÁ¿×Ö·û¼¯£¬Êý¾Ý¿âʹÓõÄ×Ö·û¼¯¡£ÆäÖУ¬¿Í»§Öն˸÷ÖÖ¸÷Ñù£¬±ÈÈçwindowsÏÂcmd£¬unix/linuxÏÂterminal/console,ÉõÖÁÈçtoadµÈ¹¤¾ßÒ²¿ÉÒÔÀí½âΪһ¸öÖնˡ£ÎÒÃÇʹÓÃwindows ......

Oracle ÈÕÆÚ²éѯÎÊÌâ

ÎÒÓÐÒ»ÕűíÓиö×Ö¶ÎÃû³ÆÊÇstarttime ÀàÐÍÊÇDATE ,ÆäÖÐÓÐÒ»ÐеÄÖµÊÇ"11:00:00",ÎÒÏë°ÑÕâÒ»ÁÐÑ¡³öÀ´,Óï¾äÈçÏÂ:
select * from routebanci where starttime='11:00:00' and routename='*** ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ