oracleÊý¾ÝÎļþ»Ö¸´
1. ×¼±¸¹¤×÷
°Ñ¾ÉµÄORACLEËùÓÐÎļþ¶¼COPY±¸·ÝÏÂÀ´,ɾ³ý¾ÉĿ¼,ÔÙÖØа²×°ORACLE,Ŀ¼ºÍ¾ÉĿ¼һÑù(Èç¹û²»Ò»Ñù,ÒªÐ޸ĵĵط½±È½Ï¶à).Ö»°²×°ORACLE,²»´´½¨Êý¾Ý¿â¡£Òª»Ö¸´µÄʵÀýΪORCL ¡£
2.ÓÃÃüÁʽ£¬Í¨¹ýÒª¾ÉµÄORAÎļþ´´½¨ÐµÄʵÀýORCL
a) oradim -new -sid ORCL£¨´´½¨ÊµÀý£©
Ìáʾ£ºÊµÀýÒÑ´´½¨¡£
b) set ORACLE_SID=ORCL£¨Ö¸¶¨ÊµÀý£©
c) sqlplus /as sysdba £¨ÓÃsysdbaµÇ½£©
Ìáʾ£ºSQL*Plus: Release 10.2.0.1.0 - Production on ÐÇÆÚÁù 2Ô 7 22:54:32 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ÒÑÁ¬½Óµ½¿ÕÏÐÀý³Ì¡£
d£© startup £¨Æô¶¯Êý¾Ý¿â£©
ORA-01078: failure in processing system parameters
LRM-00109: ???????????????? 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA'
e) °ÑÔĿ¼ÏµÄINITORCL.ORA¸´ÖƵ½ÌáʾµÄ·¾¶ÏÂ.ÔÙ´Îstartup
f£© startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'D:\oracle\product\10.2.0\db_1/dbs/spfileORCL.ora'
ORA-27041: unable to open file
OSD-04002: ????????????
O/S-Error: (OS 2) ??????????????????????
g) ÓþÉĿ¼ÏµÄspfileorcl.ora¸´ÖƵ½Ìáʾ·¾¶Ï¡£
3.н¨¶ÔÓ¦µÄĿ¼½á¹¹
ÓüÇʱ¾»òÕßÆäËûÎı¾¹¤¾ß´ò¿ªspfileorcl.oraÎļþ£¬¸ù¾Ý¸ÃÎļþÖмǼµÄĿ¼Ð½¨¶ÔÓ¦µÄĿ¼¡£
4.¸´ÖƾÉORADATAÖеÄÎļþµ½Ð½¨µÄĿ¼ÖÐ
°üÀ¨Êý¾ÝÎļþ¡¢ÈÕÖ¾ÎļþºÍ¿ØÖÆÎļþ£¨°üÀ¨ÆäËû·¾¶Ïµıí¿Õ¼ä£¬ÒÔÇ°ÓеĶ¼°´Í¬ÑùµÄ·¾¶¸´ÖƹýÀ´£¬Èç¹ûÄãÐèÒª»Ö¸´µÄÊý¾ÝÔÚÕâЩÊý¾ÝÎļþÖС££©
5.ͨ¹ý²»¶ÏµÄÆô¶¯Êý¾Ý¿âÀ´¼ì²é±í¿Õ¼ä
a) Sqlplus /nolog
b) Connect /as sysdba
c) Startup(ÈôÊÇÌáʾÒÑÆô¶¯£¬ÏÈÖ´ÐÐshutdown£¬È»ºóstartup)¡£
d) Èç¹ûÌáʾÕÒ²»µ½»òÕß±í¿Õ¼ä´íÎ󣬼ÇÏÂÌáʾ³ö´íµÄÊý¾ÝÎļþ£¨±í¿Õ¼ä£©Â·¾¶ÐÅÏ¢£¬Ö´ÐÐÃüÁî“alter database datafile '³ö´í±í¿Õ¼äÍêÕû·¾¶ÐÅÏ¢' offline drop;”£¬°Ñ¸Ã¿Õ¼äɾµô¡£
e) &nb
Ïà¹ØÎĵµ£º
ÈÕ³£¿ª·¢»î¶¯ÖУ¬ÓÐʱºòÐèÒª¶ÔoracleÖ´Ðмƻ®½øÐмà¿Ø£¬ÒÔ´ËÀ´µ÷ÓųÌÐòºÍÊý¾Ý¿â·½ÃæµÄÐÔÄÜ¡£
³£Ó÷½·¨ÓÐÒÔϼ¸ÖÖ£º
Ò»¡¢Í¨¹ýPL/SQL Dev¹¤¾ß
1¡¢Ö±½ÓFile->New->Explain Plan Window£¬ÔÚ´°¿ÚÖÐÖ´ÐÐsql¿ÉÒԲ鿴¼Æ»®½á¹û¡£ÆäÖУ¬Cost±íʾcpuµÄÏûºÄ£¬µ¥Î»Îªn%£¬Cardinality±íʾִÐеÄÐÐÊý£¬µÈ¼ÛRow ......
TO_DATE¸ñʽ(ÒÔʱ¼ä:2007-11-02 13:45:25ΪÀý)
Year:
yy two digits Á½Î»Äê ......
ÓÃOracle Sql Developer²Ù×÷±íµÄʱºò£¬²»ÖªÕ¦µÄ°Ñ±íËøסÁË¡£
½á¹ûÄÇÕűíÒ»²åÊý¾Ý¾ÍËÀ£¬Á¬truncate¶¼²»ÐС£
´ÓÍøÉÏÆßÆ´°Ë´ÕÁ˸ö·½·¨£¬ÖÕÓڰѽø³ÌɱÁË£¬±íÒ²¾Í½âËøÁË¡£
Ê×ÏÈÒªÓÃdba¼¶±ðµÄÓû§²Ù×÷£¬ÒòΪҪ²ì¿´ºÜ¶àϵͳ±í¡£ÓÃÆÕͨÓû§²Ù×÷µÄ»°£¬»áÌáʾ±í»òÕßView²»´æÔÚ¡££¨ÎªÊ²Ã´²»ÌáʾȨÏÞ²»¹»£¿º¦ÎÒ×ÜÒÔΪÊÇ°æ±¾ÎÊÌ⣩
È ......
ÒÔÏÂÊÇOracle JDBC¹Ù·½ÎĵµµÄ˵·¨£º
Ò²¾ÍÊÇËæ±ã·ÒëһϾÍÀí½âÁË¡£
JDBC Thin for All Platforms
classes12.jar (1,600,090 bytes) - for use with JDK 1.2 and JDK 1.3
Ôڵͼ¶JDK°æ±¾1.2Óë1.3ÖÐʹÓõÄÇý¶¯£¬ËäȻʵ¼ÊÉÏÔÚ1.4£¬1.5ÖÐʹÓô󲿷ÖÇé¿öÒ²ÊÇOKµÄ
classes12_g.jar (2,044,594 bytes) - same as classes12.j ......
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm
oracle×Ô´øÎĵµÐ´µÄ±È½ÏÇå³þ
24
DBMS_CRYPTO
DBMS_CRYPTO
provides an interface to encrypt and
decrypt stored data, and can be used in conjunction with PL/SQL
programs running network communications. It provides suppo ......