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

OracleÈëÃűʼÇ

¸Õ¿ªÊ¼Ê¹ÓÃOracle£¬×öһЩ±Ê¼ÇÒÔ»ýÀÛ¡£
2009Äê11ÔÂ6ÈÕ  ÏîÄ¿DSSC£¬·þÎñÆ÷ÉÏ´´½¨Êý¾Ý¿â²¢µ¼ÈëÊý¾Ý¡£
´´½¨±í¿Õ¼ä£º
create tablespace ts_stone
logging
datafile 'xxx.dbf'
size 100m
autoextend on
next 100m maxsize 2048m
extent management local;
ÁÙʱ±í¿Õ¼ä£º
create temporary tablespace temp_ts_stone
tempfile 'xxxxx.dbf'
size 50m
autoextend on
next 50m maxsize 2048m
extent management local;
´´½¨Óû§²¢Ö¸¶¨±í¿Õ¼ä£º
create user stone identified by pwd_stone
default tablespace ts_stone
temporary tablespace temp_ts_stone;
Óû§ÊÚȨ£º
grant connect, resource to stone
µ¼³öÊý¾Ý£º
exp stone/pwd_stone@ts_stone file='D\oracle\data\ts_stone.dmp' full=y
exp stone/pwd_stone@ts_stone file='D\oracle\data\ts_stone.dmp' owner=stone
exp stone/pwd_stone@ts_stone file='D\oracle\data\ts_stone.dmp' tables=(tableA, tableB, tableC)
µ¼ÈëÊý¾Ý£º
imp stone/pwd_stone@ts_stone file=xxx.dmp tables=(tableA, tableB, tableC)
imp stone/pwd_stone@ts_stone file=xxx.dmp full=y ignore=y


Ïà¹ØÎĵµ£º

oracle ÎïÀí¶Á,Âß¼­¶ÁµÄÀí½â

Ò».ÎïÀí¶Á(physical read)
µ±Êý¾Ý¿éµÚÒ»´Î¶ÁÈ¡µ½,¾Í»á»º´æµ½buffer cache ÖÐ,¶øµÚ¶þ´Î¶ÁÈ¡ºÍÐ޸ĸÃÊý¾Ý¿éʱ¾ÍÔÚÄÚ´æbuffer cache ÁË ÒÔÏÂÊÇÀý×Ó:
1.1 µÚÒ»´Î¶ÁÈ¡:
C:"Documents and Settings"Paul Yi>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Thu Feb 28 09:32:04 2008
Copyright (c) 19 ......

²»Óð²×°Oracle ClientÈçºÎʹÓÃPLSQL Developer

 http://www.cnblogs.com/sleepywang/archive/2009/10/13/1582654.html
1. ÏÂÔØoracleµÄ¿Í»§¶Ë³ÌÐò°ü£¨30M£©
      
Ö»ÐèÒªÔÚ
Oracle
ÏÂÔØÒ»¸ö½Ð
Instant Client Package
µÄÈí¼þ¾Í¿ÉÒÔÁË£¬Õâ¸öÈí¼þ²»ÐèÒª°²×°£¬Ö»Òª½âѹ¾Í¿ÉÒÔÓÃÁË£¬ºÜ·½±ã£¬¾ÍËãÖØ×°ÁËϵͳ»¹ÊÇ¿ÉÒÔÓõġ£
  ......

oracleµÄnvlº¯ÊýµÄÓ÷¨

oracleµÄnvlº¯ÊýµÄÓ÷¨ ͨ¹ý²éѯ»ñµÃij¸ö×ֶεĺϼÆÖµ£¬Èç¹ûÕâ¸öֵλnull½«¸ø³öÒ»¸öÔ¤ÉèµÄĬÈÏÖµ
select nvl(sum(t.dwxhl),1) from tb_jhde t where zydm=-1ÕâÀï¹ØÐĵÄnvlµÄÓ÷¨£¬nvl£¨arg,value£©´ú±íÈç¹ûÇ°ÃæµÄargµÄֵΪnullÄÇô·µ»ØµÄֵΪºóÃæµÄvalue
Èç: NVL(a,b)¾ÍÊÇÅжÏaÊÇ·ñÊÇNULL,Èç¹û²»ÊÇ·µ»ØaµÄÖµ£¬Èç¹ ......

ORACLE³£ÓÃת»»º¯Êý¡¢ÊýÖµº¯Êý¡¢×Ö·û´®º¯Êý½éÉÜ

±¾ÎÄÀ´×Ô£ºWWW.NC21.CN  ÐÂÊÀ¼Íƽ̨Íø  
±¾Îĸü¶à½«»á½éÉÜÈý˼ÔÚÈÕ³£Öо­³£»áÓõ½µÄ£¬»òÕßËäÈ»ºÜÉÙÓõ½£¬µ«ÊǸоõͦÓÐÒâ˼µÄһЩº¯Êý¡£·Ö¶þÀà½éÉÜ£¬·Ö±ðÊÇ£º
¡¡¡¡ÖøÃûº¯Êýƪ¡¡£­¾­³£Óõ½µÄº¯Êý
¡¡¡¡·ÇÖøÃûº¯Êýƪ£­¼´ËäÈ»ºÜÉÙÓõ½£¬µ«Ä³Ð©Çé¿öÏÂÈ´ºÜʵÓÃ
¡¡¡¡×¢£ºN±íʾÊý×ÖÐÍ£¬C±íʾ×Ö·ûÐÍ£¬D±íʾ ......

C# ¶ÁÈ¡ºÍдÈëoracleµÄblob×ֶεķ½·¨

 //ÏòÊý¾Ý¿âÖÐдÈë
        private void button1_Click(object sender, EventArgs e)
        {
            oracleConnection1.Open();
      & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ