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

oracle´´½¨±í¿Õ¼äºÍ±í

 Oracle°²×°Íêºó£¬ÆäÖÐÓÐÒ»¸öȱʡµÄÊý¾Ý¿â£¬³ýÁËÕâ¸öȱʡµÄÊý¾Ý¿âÍ⣬ÎÒÃÇ»¹¿ÉÒÔ´´½¨×Ô¼ºµÄÊý¾Ý¿â¡£
    ¶ÔÓÚ³õѧÕßÀ´Ëµ£¬ÎªÁ˱ÜÃâÂé·³£¬¿ÉÒÔÓÃ'Database Configuration Assistant'Ïòµ¼À´´´½¨Êý¾Ý¿â¡£
    ´´½¨ÍêÊý¾Ý¿âºó£¬²¢²»ÄÜÁ¢¼´ÔÚÊý¾Ý¿âÖн¨±í£¬±ØÐëÏÈ´´½¨¸ÃÊý¾Ý¿âµÄÓû§£¬²¢ÇÒΪ¸ÃÓû§Ö¸¶¨±í¿Õ¼ä¡£
    ÏÂÃæÊÇ´´½¨Êý¾Ý¿âÓû§µÄ¾ßÌå¹ý³Ì£º
    1.¼ÙÈçÏÖÔÚÒѾ­½¨ºÃÃûΪ'news'µÄÊý¾Ý¿â£¬´ËʱÔÚF:\oracle\product\10.1.0\oradata\Ŀ¼ÏÂÒѾ­´æÔÚnewsĿ¼£¨×¢Ò⣺ÎÒµÄOracle10g°²×°ÔÚF:\oracleÏ£¬ÈôÄãµÄOracle°²×°ÔÚ±ðµÄĿ¼£¬ÄÇôÄãн¨µÄÊý¾Ý¿âĿ¼¾ÍÔÚ*\product\10.1.0\oradata\Ŀ¼Ï£©¡£
    2.ÔÚ´´½¨Óû§Ö®Ç°£¬ÏÈÒª´´½¨±í¿Õ¼ä£º
    Æä¸ñʽΪ£º¸ñʽ:  create tablespace ±í¼äÃû datafile 'Êý¾ÝÎļþÃû' size ±í¿Õ¼ä´óС;
    È磺
    SQL> create tablespace news_tablespace datafile 'F:\oracle\product\10.1.0\oradata\news\news_data.dbf' size 500M;
    ÆäÖÐ'news_tablespace'ÊÇÄã×Ô¶¨ÒåµÄ±í¿Õ¼äÃû³Æ£¬¿ÉÒÔÈÎÒâÈ¡Ãû£»'F:\oracle\product\10.1.0\oradata\news\news_data.dbf'ÊÇÊý¾ÝÎļþµÄ´æ·ÅλÖã¬'news_data.dbf'ÎļþÃûÒ²ÊÇÈÎÒâÈ¡£»'size 500M'ÊÇÖ¸¶¨¸ÃÊý¾ÝÎļþµÄ´óС£¬Ò²¾ÍÊDZí¿Õ¼äµÄ´óС¡£
    3.ÏÖÔÚ½¨ºÃÁËÃûΪ'news_tablespace'µÄ±í¿Õ¼ä£¬ÏÂÃæ¾Í¿ÉÒÔ´´½¨Óû§ÁË£º
    Æä¸ñʽΪ£º¸ñʽ:  create user  Óû§Ãû identified by ÃÜÂë  default tablespace ±í¿Õ¼ä±í;
    È磺
    SQL> create user news identified by news default tablespace news_tablespace;
    Ä¬Èϱí¿Õ¼ä'default tablespace'ʹÓÃÉÏÃæ´´½¨µÄ±í¿Õ¼ä¡£
    4.½Ó×ÅÊÚȨ¸øн¨µÄÓû§£º
    SQL> grant connect,resource to news;  --±íʾ°Ñ connect,resourceȨÏÞÊÚÓènewsÓû§
    SQL> grant dba to news;  --±íʾ°Ñ dbaȨÏÞÊÚÓè¸ønewsÓû§
    ÊÚȨ³É¹¦¡£
    ok! Êý¾Ý¿âÓû§´´½¨Í


Ïà¹ØÎĵµ£º

oracle ×Ö·û¼¯ÎÊÌâ

1.oracle×Ö·û¼¯ÎÊÌ⣺
Êý¾Ý¿â×Ö·û¼¯ÎªZHS16BGK£¬ºº×ÖÔÚÊý¾Ý¿â´æ·ÅµÄʱºòÕ¼ÓÃÁ½¸ö×Ö½Ú
Êý¾Ý¿â×Ö·û¼¯ÎªUTF8£¬ºº×ÖÔÚÊý¾Ý¿âÀï´æ·ÅµÄʱºòÕ¼ÓÃÈý¸ö×Ö½Ú
ÓÉÓÚ×Ö·û¼¯²»Í¬£¬µ¼ÖÂÏÖÔÚÊý¾Ý¿âIMPµÄʱºòÓÐЩ±íµÄ×ֶγ¤¶È²»¹»£¬³öÏÖORA-12899: value too large for columnµÄ´íÎó¡£
ͨ¹ýÐÞ¸Ä×Ö·û¼¯¿ÉÒÔ½â¾öÕâÖÖÎÊÌâ¡£
2.utf-8ºÍunico ......

Oracle 9iµÄÊý¾ÝÀàÐÍ

 
 Oracle 9i¹²ÌṩÁË16ÖÖ±êÁ¿Êý¾ÝÀàÐÍ£¬Èç±í7.4Ëùʾ¡£
±í7.4 Oracle 9iµÄ±êÁ¿Êý¾ÝÀàÐÍ
Ãû³Æ
º¬Òå
Char
ÓÃÓÚÃèÊö¶¨³¤µÄ×Ö·ûÐÍÊý¾Ý£¬³¤¶È<=2000×Ö½Ú
varchar2
ÓÃÓÚÃèÊö±ä³¤µÄ×Ö·ûÐÍÊý¾Ý£¬³¤¶È<=4000×Ö½Ú
nchar
ÓÃÀ´´æ´¢Unicode×Ö·û¼¯µÄ¶¨³¤×Ö·ûÐÍÊý¾Ý£¬³¤¶È<=1000×Ö½Ú
nvarchar2
ÓÃÀ´´æ´¢Un ......

netÏÂÈçºÎ½«EXCELµ¼Èëµ½oracleÖÐ

¿ª·¢»·¾³ VS2008+NET3.5+ORACLE10G
Êý¾Ý¿âÖбíÉè¼Æ
CREATE TABLE CCOP (
A CHAR(20) NULL,
B CHAR(20) NULL,
C CHAR(20) NULL,
D CHAR(20) NULL
)
EXCELµÄµÚÒ»ÐÐÇ°ËÄÁÐÁÐÃûΪ A B C D
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using Sys ......

Introduction to Oracle9i: SQL

left join ºÍ left outer join µÄÇø±ð
ͨË׵Ľ²£º  
  A   left   join   B   µÄÁ¬½ÓµÄ¼Ç¼ÊýÓëA±íµÄ¼Ç¼Êýͬ  
  A   right   join   B   µÄÁ¬½Ó ......

Oracle¿ØÖÆÎļþ³£ÓòÙ×÷

ÏÞÖÆ¿ØÖÆÎļþµÄ´óС
a.)²éѯ¿É¸´Óò¿·ÖµÄ±£´æÌìÊý(²»ÄÜÖ±½Ó¿ØÖÆ´óС,±£´æÌìÊýÔ½´óÊý¾ÝÔ½¶à)
SELECT name,value from v$parameter WHERE name = 'control_file_record_keep_time';

b.)ÉèÖÿɸ´Óò¿·Ö±£´æʱ¼ä
ALTER SYSTEM SET CONTROL_FILE_RECORD_KEEP_TIME = 14;
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ