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

¹ØÓÚoracleµ¼³öexcelºÍexcelµ¼ÈëoracleµÄ¾­Ñé×ܽá

Ò»¡¢oracleµ¼³öexcel
·½·¨Ò»£º×î¼òµ¥µÄ·½·¨---Óù¤¾ßplsql dev
Ö´ÐÐFile =>new Report Window ¡£ÔÚsql±êÇ©ÖÐдÈëÐèÒªµÄsql£¬µã»÷Ö´Ðлò°´¿ì½Ý¼üF8£¬»áÏȳԳö²éѯ½á¹û¡£ÔÚÓҲ๤¾ßÀ¸£¬¿ÉÒÔÑ¡Ôñ°´Å¥Áí´æÎªhtml¡¢copy as html¡¢export results£¬ÆäÖÐexport results°´Å¥ÖоͿÉÒÔµ¼³öexcelÎļþ¡¢csvÎļþ¡¢tsvÎļþ¡¢xmlÎļþ¡£
·½·¨¶þ£º×îרҵµÄ·½·¨---ÓÃԭʼ¹¤¾ßsqlplus
Ô­ÎIJμû£ºhttp://www.eygle.com/archives/2005/04/eoasqlplusieaae.html
ÎÒ×öÁËÒ»µãÐ޸ģ¬ÈçÏÂËùʾ£º
1.main.sql
ÓÃÒÔÉèÖû·¾³£¬µ÷ÓþßÌ幦Äܽű¾
2.¹¦Äܽű¾-get_tables.sql
ΪʵÏÖ¾ßÌ幦ÄÜÖ®½Å±¾
ͨ¹ýÕâÑùÁ½¸ö½Å±¾¿ÉÒÔ±ÜÃâspoolÖеÄÈßÓàÐÅÏ¢£¬²Î¿¼:
ÈçºÎÈ¥³ýSQLPLUSÖÐSPOOLµÄÈßÓàÐÅÏ¢
ʾÀýÈçÏÂ:
1.main.sql½Å±¾:
[oracle@jumper utl_file]$ more main.sql
set linesize 200
set term off verify off feedback off pagesize 999
set markup html on entmap ON spool on preformat off
spool d:\tables.xls
@d:\get_tables.sql
spool off
exit
2.get_tables.sql½Å±¾:
[oracle@jumper utl_file]$ more get_tables.sql
select owner,table_name,tablespace_name,blocks,last_analyzed
from all_tables order by 1,2;
3.Ö´Ðв¢»ñµÃÊä³ö:
[oracle@jumper utl_file]$ sqlplus "/ as sysdba" @d:\main.sql
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Apr 25 10:30:11 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
[oracle@jumper utl_file]$ ls -l tables.xls
-rw-r--r-- 1 oracle dba 69539 Apr 25 10:30 tables.xls
[oracle@jumper utl_file]$
´Ë´¦Êä³öΪxlsÎļþ£¬Í¨¹ýÏÂͼÎÒÃÇ¿ÉÒÔ¿´µ½Êä³öЧ¹û:
°Ñmain.sql½Å±¾Öеģ¬spool tables.xls¸ü¸ÄΪspool tables.htm,ÎÒÃÇ¿ÉÒÔ»ñµÃhtm¸ñʽÊä³ö£¬Ð§¹ûÈçÏÂͼ:
·½·¨Èý£º×¾çµÄ·½·¨£¬Ö®ËùÒÔ³ÆÎª±¯¾ç£¬ÊÇÒòΪÕâ¸ö·½·¨ÆäʵºÜ¼òµ¥£¬µ«ÊÇÄã¿ÉÄÜûÓÐ×¢Òâ¡£
´ò¿ªplsql dev¹¤¾ß£¬Ö´ÐÐfile=>new sql window £¬ÊäÈësql£¬µã»÷¹¤¾ßÀ¸


Ïà¹ØÎĵµ£º

¡¾×ª¡¿OracleÐÔÄܵ÷ÕûµÄÎóÇø

OracleÐÔÄܵ÷ÕûµÄÎóÇø
http://tech.it168.com/db/o/2006-07-03/200607031305157.shtml
ΪÁËÌá¸ßÐÔÄÜ,ÎÒÃÇÕë¶ÔOracleÊý¾Ý¿â±¾ÉíÌṩÁ˵ķ½·¨»ò·½°¸½øÐйý²»Éٵij¢ÊÔ£¬Ö÷Òª°üÀ¨:
    ¹²Ïí·þÎñÆ÷ģʽ(MTS)
    ¼¯Èº¼¼Êõ(Clustering)RAC
    ·ÖÇø
    ²¢ÐÐ ......

hibernate.cfg.xml¹ØÁªOracleÊý¾Ý¿âµÄÅäÖÃ

<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE hibernate-configuration (View Source for full doctype...)>
- <!-- Generated by MyEclipse Hibernate Tools.
--> - <!-- ÒÔÉϼ¸ÐÐËùÓеÄhibernate.cfg.xml¶¼Ïàͬ
--> [url=file:///C:/Documents%20and%20Settings/ ......

´«ÖDz¥¿Í 2010 1 19Ê®°Ë¡¢ORACLE(2)_ µ¥Ðк¯Êý


¶ÔÿһÐÐÊäÈëÖµ½øÐмÆË㣬µÃµ½ÏàÓ¦µÄ¼ÆËã½á¹û£¬·µ»Ø¸øÓû§£¬Ò²¾ÍÊÇ˵£¬Ã¿ÐÐ×÷Ϊһ¸öÊäÈë²ÎÊý£¬¾­¹ýº¯Êý¼ÆËãµÃµ½Ã¿ÐеļÆËã½á¹ûÊǵ¥Ðк¯Êý¡£
Ò»¡¢×Ö·ûº¯Êý
1¡¢×Ö·û´®´óСдת»»
(1)LOWER (strexp)    ·µ»Ø×Ö·û´®,²¢½«ËùÓеÄ×Ö·ûСд
(2)UPPER (strexp)     ·µ»Ø×Ö·û´®,²¢½«ËùÓеÄ× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ