Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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'µÄ±í¿Õ¼ä£¬ÏÂÃæ¾Í¿ÉÒÔ´´½¨Óû§ÁË(Oracle¹æ¶¨ÁËÈýÖÖ»ù±¾Óû§Éí·Ýnormal¡¢sysoper¡¢sysdba¡£ÆäÖÐsysdbaºÍsysoper¶¼ÊôÓÚϵͳ¼¶Óû§£¬Ö»ÓÐͨ¹ýÊÚȨµÄnormalÓû§²Å¿ÉÒÔÖ±½Ó·ÃÎÊн¨µÄ±í¿Õ¼äÖеÄÊý¾ÝÐÅÏ¢)¡££º
    Æä¸ñʽΪ£º¸ñʽ:  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Óû§
   


Ïà¹ØÎĵµ£º

oracle½¨¶à¸ödblink

ÓÃtg4mssqlÁ´½Óoracle.
¹ý³Ì²»ÔÚÃèÊö£¬googleºÜ¶à¡£
ÎÊÌ⣺
1¡¢mssql expressµÄʱºò£¬Ê§°Ü
½«serverÓÃתÒå×Ö·ûд³ö£¬³É¹¦¡£
HS_FDS_CONNECT_INFO="SERVER=SHAM0415\\SQLEXPRESS;DATABASE=GMT_KJ"
2¡¢½¨¶à¸öµÄʱºò£¬²»ÄܽâÎö¡£ tnsping ÃüÁî×ܲ»Í¨¹ý¡£
ÕÒÁ˺ܶ࣬ͬһ¸öÌû×Ó£¬×ªÁËÎÞÊý´Î¡£¡£
°¦¡£¡£ÖйúµÄ ......

ÔÚlinuxÖÐʹÓÃcrontabʵÏÖ¶ÔoracleµÄ¶¨Ê±±¸·Ý

¼ÙÉèÊý¾Ý¿âµÄÓµÓÐÕßΪoracle£¬Êý¾Ý¿âµÄÓû§Îªscott£¬Æä¿ÚÁîΪtrigger£¬
OracleÊý¾Ý¿âµÄ²ÎÊý$ORACLE_HOMEΪ/usr/oracle£¬$ORACLE_SIDΪoracle1£¬ÔòʵÏÖ²½ÖèÈçÏ£º
1¡¢½¨Á¢ÊµÏÖ±¸·ÝµÄshell
ÔÚ/usr/oracleÖÐÓÃviÃüÁÁ¢Îļþbackup.sh£¬ÆäÄÚÈÝΪ:
ORACLE_HOME=/usr/oracle; <br>export ORACLE_HOME;
ORACLE_SID= ......

C# Á¬½ÓOracleÊý¾Ý¿â


C#Á¬½ÓOracleÊý¾Ý¿â×Ö·û´®
http://developer.51cto.com
 2009-08-20 17:55  ØýÃû  °Ù¶È¿Õ¼ä  ÎÒÒªÆÀÂÛ(
0
)
C#Á¬½ÓOracleÊý¾Ý¿âÒÔ¼°C#Á¬½ÓOracleÊý¾Ý¿â×Ö·û´®µÈÄÚÈݽ«ÔÚ±¾ÎÄÖÐÕ¹ÏÖ£¬Ï£Íû±¾ÎÄÄܶԴó¼ÒÁ˽âC#Á¬½ÓÊý¾Ý¿âÓÐËù°ïÖú¡£
C#Á¬½ÓOracleÊý¾Ý¿â×Ö·û´®£¨²éѯÊý¾Ý£©
using
 Syst ......

oracle ±í½á¹¹µÄÐÞ¸Ä

¸ü¸Ä±íµÄ½á¹¹
1.±à¼­±íµÄ×Ö¶Î
  ÐÞ¸ÄÒ»¸öÁеÄÊý¾ÝÀàÐÍ(Ò»°ãÏÞÓÚÐ޸ij¤¶È£¬ÐÞ¸ÄΪһ¸ö²»Í¬ÀàÐÍʱÓÐÖî¶àÏÞÖÆ):
  Óï·¨:
    ALTER TABLE ±íÃû MODIFY(ÁÐÃû Êý¾ÝÀàÐÍ);
 eg1:
   alter table skate_test modify (author number(10,0) )
   ÔÚÐÞ¸ÄÁеij¤¶Èʱºò,Ö»Äܱ ......

OracleÖÐÊý¾Ý¿âÓû§ºÍ±í¿Õ¼ä¹Øϵ

Ò»¸öÓû§¿ÉÒÔʹÓÃÒ»¸ö»ò¶à¸ö±í¿Õ¼ä£¬Ò»¸ö±í¿Õ¼äÒ²¿ÉÒÔ¹©¶à¸öÓû§Ê¹Óá£Óû§ºÍ±í¿Õ¼äûÓÐÁ¥Êô¹Øϵ£¬±í¿ÕÊÇÒ»¸öÓÃÀ´¹ÜÀíÊý¾Ý´æ´¢Âß¼­¸ÅÄ±í¿Õ¼äÖ»ÊǺÍÊý¾ÝÎļþ·¢Éú¹Øϵ£¬Êý¾ÝÎļþÊÇÎïÀíµÄ£¬Ò»¸ö±í¿Õ¼ä¿ÉÒÔ°üº¬¶à¸öÊý¾ÝÎļþ£¬¶øÒ»¸öÊý¾ÝÎļþÖ»ÄÜÁ¥ÊôÒ»¸ö±í¿Õ¼ä¡£ 
      Óû§ÊôÓÚÊý¾Ý¿âʵÀýµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ