Oracle Instant Client°²×°
Èí¼þÏÂÔØ
µ½http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.htmlÏÂÔØÈçÏÂÈý¸ö°ü£º
instantclient-basic-win32-11.1.0.7.0.zip
instantclient-jdbc-win32-11.1.0.7.0.zip
instantclient-sqlplus-win32-11.1.0.7.0.zip
½«ÕâÈý¸ö°ü·Ö±ð½âѹ£¬È»ºóÄÚÈݷŵ½D:\instantclient_11_1ÏÂ
2.ÉèÖÃϵͳ»·¾³±äÁ¿
(on UNIX, Ò»°ãÖ»Òªset the LD_LIBRARY_PATH to instantclient. On Windows, Ò»°ãÒ²Ö»Òªset PATH to locate the instantclient directory. ¾¹ý²âÊÔ£¬On Windows, Ò²¿ÉÒÔÉèÖÃLD_LIBRARY_PATH to instantclient£¬¶ø²»ÉèÖÃPATH .)
LD_LIBRARY_PATH ¼´½âѹÎļþ¼ÐµÄ·¾¶£¬È磺D:\instantclient_11_1 £¨¿ÉÑ¡£©
ÆäÖаüÀ¨Ò»Ð©¶¯Ì¬Á´½Ó¿â
ORACLE_HOME ÉèÖóɺÍLD_LIBRARY_PATHÏàͬ¼´¿É£¨¿ÉÑ¡£©
TNS_ADMIN ¼´ÄãµÄtnsnames.oraºÍsqlnet.oraµÄ·¾¶£¬È磺D:\instantclient_11_1\network\admin£¨¿ÉÑ¡£©
3.´Ó·þÎñÆ÷¶Ëcopy¹ýÀ´tnsnames.oraºÍsqlnet.ora(Ç°ÌáÊÇ·þÎñÆ÷µÄ·þÎñÃûÒÑÅäÖúÃÁË)
4.×¢²á±í
½¨Á¢HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
¼ÓÈëNLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
½ÓÏÂÀ´¾Í¿ÉÒÔÓÃPL/SQL DeveloperÁ¬Êý¾Ý¿âÁË£¬²¢ÇÒ²»ÓÃ×°ºÜ´óµÄOracle client
----------------------------------------------------------------------------------------
ÒÔÏÂÊDzο¼£º
OCIÎĵµ£ºhttp://download-west.oracle.com/docs/cd/B12037_01/appdev.101/b10779/oci01int.htm#423364
http://download.oracle.com/docs/cd/B12037_01/java.101/b10979/instclient.htm#CHDGDIGG
10G ÖÐInstant Client µÄʹÓÃ
´Ó10G¿ªÊ¼,Oracle ÌṩÁËÒ»¸ö½ÏΪÇáÁ¿¼¶µÄ¿Í»§°ü£¬½Ð×ö
Instant Client. ½«Ëü°²×°ºÃºó£¬¾Í²»ÓÃÔÙ°²×°ÅÓ´óµÄ
Oracle ClientÁË. Õâ¶ÔÓÚÓ¦ÓóÌÐòµÄ·Ör·¢ÊÇÒ»¸ö¸Ä½ø.
(ÓÃwinrar3.3ѹËõºó´ó¸Å27M)
²½Öè:
1. ´ÓOTN ÏÂÔؼ¸¸öѹËõ°ü,½âѹµ½Ò»¸öĿ¼, c:\instant client
instantclient-basic-win32-10.1.0.2.zip : ÕâÊÇ×îºËÐĵİü
instantclient-jdbc-win32-10.1.0.2.zip: °üº¬JDBC DriverµÄ°ü
instantclient-sqlplus-win32-10.1.0.2.zip: ×î¼òµ¥µÄSQLPLUS°ü
2. ÅäÖû·¾³±äÁ¿ºÍtnsnames.ora/sqlnet.oraÎļþ
Ê×ÏÈ, PATH±äÁ¿ÖмÓÈë c:\instant client
Èç¹ûÄãµÄ»úÆ÷´ÓÀ´Ã»Óа²×
Ïà¹ØÎĵµ£º
´ó¼Ò¶¼ÖªµÀ£¬ÓÃPL/SQLÁ¬½ÓOracle£¬ÊÇÐèÒª°²×°Oracle¿Í»§¶ËÈí¼þµÄ¡£ÓÐûҪÏë¹ý²»°²×°Oracle¿Í»§¶ËÖ±½ÓÁ¬½ÓOracleÄØ£¿
ÆäʵÎÒÒ»Ö±ÏëÕâÑù×ö£¬ÒòΪÕâ¸ö¿Í»§¶ËʵÔÚÌ«ÈÃÈËÌÖÑáÁË£¡£¡£¡²»µ«»á°²×°Ò»¸öJDK£¬¶øÇÒ»¹»á°Ñ×Ô¼º·ÅÔÚ»·¾³±äÁ¿µÄ×îÇ°Ã棬»áÔì³É²»Ð¡µÄÂé·³¡£
&n ......
´Ó¸ÅÄʾÀý—Oracle´´½¨³ÌÐò°ü
Ò»¡¢³ÌÐò°üµÄÏà¹Ø֪ʶ
1.¶¨ÒåÓë˵Ã÷
a. Ïà¹Ø¶ÔÏóµÄ·â×°
b. ³ÌÐò°üµÄ¸÷²¿·Ö
- ³ÌÐò°ü¹æ¸ñ˵Ã÷
ÉùÃ÷×Ó³ÌÐò
- ³ÌÐò°üÖ÷Ìå
......
1. Oracle°²×°Íê³ÉºóµÄÔʼ¿ÚÁ
¡¡internal/oracle
¡¡¡¡sys/change_on_install
¡¡¡¡system/manager
¡¡¡¡scott/tiger
¡¡¡¡sysman/oem_temp
2. ORACLE9IAS WEB CACHEµÄÔʼĬÈÏÓû§ºÍÃÜÂ룿
administrator/administrator
3. oracle 8.0.5ÈçºÎ½¨Á¢Êý¾Ý¿â£¿
ÓÃorainst¡£¼ÙÈçÓÐmotif½çÃ棬Äܹ»ÓÃorainst /m¡ ......
TO_DATE¸ñʽ(ÒÔʱ¼ä:2007-11-02 13:45:25ΪÀý)
Year:
yy two digits Á½Î»Äê ......
¶ÔÓÚ Oracle µÄ rownum ÎÊÌ⣬ºÜ¶à×ÊÁ϶¼Ëµ²»Ö§³Ö>,>=,=,between...and£¬Ö»ÄÜÓÃÒÔÉÏ·ûºÅ(<¡¢<=¡¢!=)£¬²¢·Ç˵ÓÃ>,>=,=,between..and ʱ»áÌáʾSQLÓï·¨´íÎ󣬶øÊǾ³£ÊDz鲻³öÒ»Ìõ¼Ç¼À´£¬»¹»á³öÏÖËƺõÊÇĪÃûÆäÃîµÄ½á¹ûÀ´£¬ÆäʵÄúÖ»ÒªÀí½âºÃÁËÕâ¸ö rownum αÁеÄÒâÒå¾Í²»Ó¦¸Ã¸Ðµ½¾ªÆ棬ͬÑùÊÇαÁУ¬rownum ......