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

WINFORM+Oracle¿Í»§¶Ë²¼Êð

×¢£ºÏÂÃæÖ»ÊÇÎÒ´ÖÁӵļǼһÏ£¬×Ô¼ºÔÚ¿ª·¢ÖÐËùѧµÄÒ»²¿·Ö×ÊÁÏ£¡
1£®  µÚÒ»¡¢ÊÇÏÂÔØÒ»¸ö“Oracle9i¿Í»§¶Ë¾«¼ò°æ.exe”¿Í»§¶Ë£¬È»ºó°ÑËü°²×°µ½CÅÌÏÂÃæ¡£
È»ºó°ÑÎÒÃÇ×Ô¼ºÅäÖúõĔ tnsnames.ora”Îļþ£¬¸´¸ÇC:\oracle\ora90\network\adminÏÂÃæµÄtnsnames.oraÎļþ¡£
2£®  ÔÚVS2005¿ª·¢¹¤¾ßÖÐ,Ìí¼Ó²¼ÊðÏîÄ¿£¬¾Ù×ÓÃûΪ£ºreportOrace,µ±ÆäËû°²×°²½Ö趼ÒѾ­×öºÃÁË£¬¾Í²îÌí¼ÓOracle¿Í»§¶Ë¡£ÕâʱºòÎÒÃÇÓÒ»÷²¼ÊðÏîÄ¿£¬Èçͼ
3£®  ÔÚ“Îļþϵͳ”ÖÐÌí¼ÓOracle¿Í»§¶Ë,°ÑÒѾ­°²×°ºÃµÄOracle¿Í»§¶ËÏÂÃæµÄËùÓÐÎļþƽºÍÎļþ½á¹¹¶¼Ìí¼Óµ½²¼ÊðÏîÄ¿µ±ÖС£ÈçÏÂͼ
ÆäÖУ¬Òª×¢ÒâµÄÊÇ£ºOraOLEDBzhs.dll¡¢OraOLEDButl.dll¡¢OraOLEDBus.dll¡¢OraOLEDBpus.dllµÄÊôÐÔRegister¸ÄΪ“vsdrfCOMRelativePath”·ñÔò»áÌáʾ“δÄÜ×¢²áÄ£¿é ….”¡£
4. ÔÙ½øÒ»²½£¬ÎÒÃÇ´ò¿ªÏµÍ³µÄ×¢²á±ícmd->regedit¡£·Ö±ðÕÒµ½
1.) HKEY_CLASSES_ROOT\CLSID\{3F63C36E-51A3-11D2-BB7D-00C04FA30080}
2). HKEY_CLASSES_ROOT\CLSID\{3FC8E6E4-53FF-11D2-BB7D-00C04FA30080}
3). HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup.1
4). HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup
5). HKEY_CLASSES_ROOT\OraOLEDB.Oracle.1
6). HKEY_CLASSES_ROOT\OraOLEDB.Oracle
7). HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
°ÑÉÏÃæ7¸ö×¢²á±íÑ¡Ïîµ¼³öµ½±¾µØ£»*.reg
5.ÏÖÔÚÎÒÃÇÔÚÀ´£¬ÓÒ»÷²¼ÊðÏîÄ¿£¬“ÊÓͼ”-“×¢²á±í”£¬Èçͼ£º
Ñ¡ÔñÎÒÃǸղŵ¼³öµÄ×¢²á±íÎļþ
×îºó»¹ÒªÒªÐÞ¸ÄÏ»·¾³±äÁ¿:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]
"Path"="C:\Oracle\ora90\BIN\"


Ïà¹ØÎĵµ£º

start oracle with the linux opening

 1.ÐÞ¸Ä/etc/oratab £¬Ìí¼Ó$ORACLE_SID:$ORACLE_HOME:Y --
Y´ú±íOSÆô¶¯ÔòDBÆô¶¯±ØÐëÉèÖÃΪY£¬·ñÔòdbstartºÍdbstop²»¿ÉÓã¬NΪ²»Æô¶¯£¬$ORACLE_SIDÊÇDB
SID£¬$ORACLE_HOMEÊÇDB ¾ø¶Ô·¾¶
2.ÐÞ¸Ä/etc/rc.d/rc.loacl,¼ÓÈëÒÔÏ£º
#listener command
COMM_LISTENER=/opt/oracle/product/10.2.0/db_1/bin/lsnrctl
L ......

LinuxÏÂoracle 10g ÖйرÕÊý¾Ý¿â´íÎó

 Ò»´ÎÆæ¹ÖµÄÊý¾Ý¿âÆô¶¯ºÍ¹Ø±Õ¾­Àú¡£
SQL> conn / as sysdba
Connected to an idle instance.
SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permitted
SQL> conn / as sysdba
Co ......

EXCELµ¼ÈëORACLE

 ·½·¨Ò»£¬Ê¹ÓÃSQL*Loader  
   Õâ¸öÊÇÓõĽ϶àµÄ·½·¨£¬Ç°Ìá±ØÐëoracleÊý¾ÝÖÐÄ¿µÄ±íÒѾ­´æÔÚ¡£  
   ´óÌå²½ÖèÈçÏ£º  
   1     ½«excleÎļþÁí´æΪһ¸öÐÂÎļþ±ÈÈçÎļþÃûΪtext.txt£¬ÎļþÀàÐÍÑ¡Îı¾Îļþ£¨ÖƱí·û·Ö¸ô£©£¬ÕâÀïÑ¡Ô ......

oracleµÄrank,over partitionº­ÊýʹÓÃ

 ¹Ø¼ü×Ö: º­Êýrank, over partitionʹÓÃ
ÅÅÁУ¨rank()£©º¯Êý¡£ÕâЩÅÅÁк¯ÊýÌṩÁ˶¨ÒåÒ»¸ö¼¯ºÏ£¨Ê¹Óà PARTITION ×Ӿ䣩£¬È»ºó¸ù¾ÝijÖÖÅÅÐò·½Ê½¶ÔÕâ¸ö¼¯ºÏÄÚµÄÔªËؽøÐÐÅÅÁеÄÄÜÁ¦£¬ÏÂÃæÒÔscottÓû§µÄemp±íΪÀýÀ´ËµÃ÷rank over partitionÈçºÎʹÓÃ
1£©²éѯԱ¹¤Ð½Ë®²¢Á¬ÐøÇóºÍ
select deptno,ename,sal,
sum(sal)over ......

oracle Êý¾Ý×ÖµäÊÓͼ֮ DICT / DICTIONARY

1.µ±ÄãÃÍÈ»¼äÍü¼Çͨ¹ýʲôÊÓͼ¿ÉÒԲ鿴procedureÄÚÈÝʱ£¬ÒþÔ¼¼ÇµÃËùÐèµÄÊÓͼ°üº¬“SOUR”×ֶΣ¬´Ëʱ²éѯdict/dictionaryÊÓͼÊÇ×îºÃµÄÑ¡Ôñ
sys@ora10g> col COMMENTS for a78
sys@ora10g>select * from dict where TABLE_NAME like '%SOUR%';
TABLE_NAME         ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ