Oracle À俽±¸ÊµÀý¹Òµ½ÐÂORACLEʱӦעÒâÎÊÌâ¡£
À俽±¸ÁËÒ»¸öÔÓÐÊý¾Ý¿â£¬Òª°ÑËûÒÆÖ²µ½ÐµÄÊý¾Ý¿âÖÐʱ£¬Òª×¢Òâһϣº
1.Oradim -new -sid [ʵÀýÃû:demo] -intpwd [PWD] -pfile= [Òª´´½¨ÊµÀýµÄÅäÖÃÎļþ£º*.ora]
2.set Oracle_SID=[ʵÀýÃû]£¨×°Íêºó¼ÇµÃÒªÔÚ×¢²á±íÀï¼ÓÉÏ:HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1£ºORACLE_SID£¬ÖµÎªÊµÀýÃû¡££©
3.sqlplus /nolog
4.conn sys/[PWD] as sysdba;
5.ÈçÏ£ºÊµÀýµØÖ·×ÔÐÐÐ޸ġ£
startup nomount pfile=C:\oracle\DEMO\initDEMO.ora;
create controlfile set database 'DEMO' resetlogs
LOGFILE
GROUP 1 'C:\oracle\DEMO\REDO01.LOG' SIZE 10M,
GROUP 2 'C:\oracle\DEMO\REDO02.LOG' SIZE 10M,
GROUP 3 'C:\oracle\DEMO\REDO03.LOG' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'C:\oracle\DEMO\SYSTEM01.DBF',
'C:\oracle\DEMO\UNDOTBS01.DBF',
'C:\oracle\DEMO\SYSAUX01.DBF',
'C:\oracle\DEMO\USERS01.DBF',
'C:\oracle\DEMO\IFSAPP_DATA.DBF',
'C:\oracle\DEMO\IFSAPP_INDEX.DBF',
'C:\oracle\DEMO\IFSAPP_LOB.DBF',
'C:\oracle\DEMO\IFSAPP_REPORT_DATA.DBF',
'C:\oracle\DEMO\IFSAPP_REPORT_INDEX.DBF',
'C:\oracle\DEMO\IFSAPP_ARCHIVE_DATA.DBF',
'C:\oracle\DEMO\IFSAPP_ARCHIVE_INDEX.DBF'
CHARACTER SET AL32UTF8
;
alter database open resetlogs;
alter tablespace "TEMP" add tempfile 'C:\oracle\DEMO\temp01.dbf' size 100M;
Íê³ÉºóÒª¼ÇµÃ×öµÚ¶þ²½ºóÃæµÄ£¬²»È»²»ÄÜÓÃPLSQLÁ¬½Ó¡£
Á¬½Óʱ»á±¨£ºÊÊÅäÆ÷ÎÞЧ»ò¼àÌýÆ÷²»ÄÜÓõȵȴíÎó¡£
¶þ¡¢°²×°Íê³Éºó£¬È´²»ÄÜÔÚÆäËü»ú×ÓÁ¬½ÓÎÊÌâ¡£
Oracle ÕýÈ·°²×°ºó£¬Èç¹ûÆäËü»ú×ÓÁ¬½Óʱ±¨£º£¨ÎÞ¿ÉÓüàÌýÆ÷£©¡£ÕâÊÇÒòΪ¼àÌýÆ÷ûÓйҽӵ½ÊµÁеÄÔÒò£¬¿ÉÒÔÔÚ¼àÌýÆ÷¼ÓÈçÏÂÒ»¶Î¡£
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\10G)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = [ʵÀýÃû:DEMO])
(ORACLE_HOME = [Ê
Ïà¹ØÎĵµ£º
֮ǰÎÒÒ²ÓÐ談論過.netÖÐ對²»Í¬數據庫µÄ連½Ó²Ù×÷£¬這´Î單談談Oracle£¬Æä實ÄãÒª連½Óµ½Oracle數據庫ÊÇÒªÒªÇóÓÐ個Oracle.DataAccess.dll¡£¿ÉÒÔµ½Oracle網Õ¾ÏÂ載¡£Èç¹ûÄã°²裝ÁËOracleÁË£¬Ò² ......
-- ²éѯÍâ¼üÔ¼Êø(²éij±íµÄËùÓи¸±í)
select c.constraint_name,cc.column_name,rcc.owner,rcc.table_name,rcc.column_name
from user_constraints c,user_cons_columns cc,user_cons_columns rcc
where c.owner=' ......
×÷ΪÊý¾Ý¼¯³ÉµÄMOSS×é¼þBDC£¬ÔÚMOSS2007°æ±¾Öл¹Óкܶ಻³ÉÊìµÄµØ·½£¬ËäÈ»¿ÉÒÔ´æÈ¡ÆäËûÊý¾Ý¿âÖеÄÊý¾Ý£¬µ«ÅäÖÃȷʵºÜ¸´ÔÓ£¬È±Ê¡µÄ¹¤¾ßÒ²ºÜÈõ£¬ÕâÊÇÔÚÒ»¸öÏîÄ¿ÖÐÓõ½µÄÁ¬½ÓORACLEÊý¾Ý¿âÅäÖÃÎļþ£¬¼Í¼ÔÚ´ÎÒÔ±ãºóÓá£
<?xml version="1.0"?>
<LobSystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xm ......
ÎÒÔÚoracle 9iµÄ»·¾³Ï¿ª·¢ÁËocciµÄÓ¦Ó㬽á¹û·Åµ½10g(10.2.0.3)·þÎñÆ÷ÉÏÔËÐв»ÁË(Ö»×°ÁËwindows °æµÄ10g·þÎñ¶Ë)£¬Ö»ºÃ°ÑËùÓÐÒÀÀµµÄ9iµÄdll¿½¹ýÈ¥£¬½á¹ûÁ¬½Óocci±¨´í£º
Error while trying to retrieve text for error ORA-32101
µ½http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.ht ......
Oracle Óû§¼°½ÇÉ« ½éÉÜ ÊÕ²Ø
Ò». Óû§¹ÜÀí
1.1 ½¨Á¢Óû§£¨Êý¾Ý¿âÑéÖ¤£©
CREATE USER DAVE IDENTIFIED BY pwd
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp ......