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

oracle ÐÞ¸Ä×Ö¶ÎÀàÐ͵ķ½·¨

½ñÌ칫˾ÒòΪҵÎñÐèÒª,ÐÞÒªÐÞ¸Äij¸ö×Ö¶ÎÊý¾ÝÀàÐÍÓÐnumber(5),±äΪnumber(5,2)ÐÍ
ÒªÊÇûÓÐÊý¾ÝµÄ»°Ö±½ÓÓÃÒÔÏÂÓï¾ä¼´¿É
alter   table  tb_test  modify permile  number(5,2);
µ«ÊÇÓÐÊý¾ÝµÄ»° ¾Í²»ÄÜÓÃÉÏÃæ·½·¨ÁË,
alter table tb_test add permile_temp number(5,2)
update tb_test set  permile_temp=permile;
alter table drop column permile;
alter  table test rename column  permile_temp to permile;
ÕâÖÖ·½·¨»áʹÁÐÃû·¢Éú±ä»¯,¶øÇÒ×Ö¶Î˳ÐòÔö¼Ó ÓпÉÄÜ·¢ÉúÐÐǨÒÆ,¶ÔÓ¦ÓóÌÐò»á²úÉúÓ°Ïì
ÒÔÏ·½·¨ÊDZȽϺõķ½·¨
²»ÓÃʹÁÐÃû·¢Éú±ä»¯ Ò²²»»á·¢Éú±íǨÒÆ,µ«Õâ¸öÓиöȱµãÊDZíÒª¸üÐÂÁ½´Î
Èç¹ûÊý¾ÝÁ¿½Ï´óµÄ»° ²úÉúµÄundoºÍredo¸ü¶à ,Ç°ÌáÒ²ÊÇҪͣ»ú×ö
ÒªÊDz»Í£»úµÄ»° ,Ò²¿ÉÒÔ²ÉÓÃÔÚÏßÖض¨Ò巽ʽÀ´×ö 
ÒÔÏÂÊǽű¾:
-- Ìí¼ÓÒ»¸öÁÙʱÁÐpermile_temp ÀàÐÍΪ number
alter table tb_test  add permile_temp number;
-- ÉèÖÃÒª¸Ä¶¯µÄÁÐpermile ¿ÉÒÔΪNULL
alter table  tb_test  modify  permile null;
-- °Ñpermile ÁеÄֵȫ²¿¸üиøÁÙʱÁÐpermile_temp£¬È»ºó°Ñ permile ¸üÐÂΪNULL
update  tb_test  set permile_temp=permile,permile=null;
commit;
-- °ÑÁÐÄ¿±êÁÐ permile Êý¾ÝÀàÐ͸Ķ¯Îªnumber(5,2)
alter table  tb_test  modify permile number(5,2);
-- °Ñpermile ÁеÄֵȫ²¿¸üлØÀ´£¬È»ºó°Ñ ÁÙʱÁÐ ¸üÐÂΪNULL
update  tb_test  set permile=permile_temp,permile_temp=null;
commit;
 -- ×îºóɾ³ýÌí¼ÓµÄÁÙʱÁÐ
alter table  tb_test  drop column permile_temp;
-- ×îºó»¹Ô­ÁÐ permile ²»ÔÊÐíΪNULL
alter table  tb_test  modify permile not null;
select * from  tb_test ;
 
 


Ïà¹ØÎĵµ£º

¡¾Oracle¡¿SQLÓÅ»¯µÄÖØÒª¹¤¾ß AUTOTRACE

¡¾AUTOTRACE¡¿SQLÓÅ»¯µÄÖØÒª¹¤¾ß--AUTOTRACE
Ìáµ½SQLÓÅ»¯£¬²»Äܲ»ÌáAUTOTRACEµÄÇ¿´ó¹¦ÄÜ¡£Ê¹ÓÃÆðÀ´·Ç³£±ã½Ý£¬²»¹ýÔÚÊÇʹÓÃ֮ǰ£¬ÐèÒª×öһЩÅäÖõŤ×÷¡£¼òÒªµÄÃèÊöÒ»ÏÂÕâ¸ö¹ý³Ì£¬¹©Ã»ÓÐʹÓùýµÄÅóÓѲο¼¡£
1.ʹÓÃsysÓû§Ö´ÐÐplustrce½Å±¾
sys@ora10g> @?/sqlplus/admin/plustrce
sys@ora10g> drop role plustrace ......

OracleÐÔÄÜÓÅ»¯ÓëDelphi´úÂë

OracleÐÔÄÜÓÅ»¯ÓëDelphi´úÂë

¸ÕѧÁ˵ãoracle·½ÃæµÄ֪ʶ£¬¸Ð¾õÒÔǰд´úÂëֻƾϲºÃд£¬ÍêȫûÓÐÉԵÓÉ£¬µ¼ÖÂÔÚÄÚÐÐÈË¿´À´£¬Ð´µÄ¶¼ÊÇÀ¬»ø´úÂ룬ÏÖÔھͰÑѧµ½µÄһЩ¶«Î÷д³öÀ´£¬Ò²ËãÊǸø¸ÕÈëÃŵÄÅóÓÑÒ»µã°ïÖú°É¡£
ÒÔÇ°£¬Ð´Êý¾Ý¿â·ÃÎÊ´úÂ룬¸Ð¾õºÜ¼òµ¥£¬²»¾ÍÊÇsqlÓï¾äÂËùÒÔʲôÓï¾ä¶¼ÊÇÕâÑùд£º
A£º
 
......

oracleÖе¼Èëµ¼³ödmpÊý¾Ý¿âÎļþ

OracleÊý¾Ýµ¼Èëµ¼³öimp/exp¾ÍÏ൱ÓÚoracleÊý¾Ý»¹Ô­Ó뱸·Ý¡£expÃüÁî¿ÉÒÔ°ÑÊý¾Ý´ÓÔ¶³ÌÊý¾Ý¿â·þÎñÆ÷µ¼³öµ½±¾µØµÄdmpÎļþ£¬impÃü Áî¿ÉÒÔ°ÑdmpÎļþ´Ó±¾µØµ¼Èëµ½Ô¶´¦µÄÊý¾Ý¿â·þÎñÆ÷ÖС£ ÀûÓÃÕâ¸ö¹¦ÄÜ¿ÉÒÔ¹¹½¨Á½¸öÏàͬµÄÊý¾Ý¿â£¬Ò»¸öÓÃÀ´²âÊÔ£¬Ò»¸öÓÃÀ´ÕýʽʹÓá£
¡¡¡¡Ö´Ðл·¾³£º¿ÉÒÔÔÚSQLPLUS.EXE»òÕßDOS£¨ÃüÁîÐУ©ÖÐÖ´ÐУ¬
¡¡ ......

Oracle 1z0 033 ÈÏÖ¤¿¼Ìâ×ÊÁÏ

Oracle 1z0-033 ÈÈÃÅÈÏÖ¤
1z0-033 Exam
Oracle9i Database:Performance Tuning
¿ÆÄ¿±àºÅ£º1z0-033
¿ÆÄ¿Ãû³Æ£ºOracle 9i Database:Performance Tuning
¿¼ÊÔ¼Û¸ñ£ºCNY898
¿¼ÊÔʱ¼ä£º120·ÖÖÓ
¿¼ÌâÊýÁ¿£º65
¼°¸ñ·ÖÊý£º72£¥
¸üÐÂÈÕÆÚ£º2010-01-23
Oracle 1z0-033 ÊÇÒ»¸öÅÓ´óµÄÆ·ÅÆϵͳ¡£ÈçÇ°ËùÊö£¬Oracle²»½öÔÚÈ«Çò× ......

oracle ¶¨Ê±±¸·Ý

µÚÒ»²½£º н¨Îļþ“¶¨Ê±±¸·Ý.bat”£¬ ÎļþÄÚÈÝÈçÏ£º
set tempvalue=databaseName_%date:~0,10%
set directory_temp=d:\BackUp\%tempvalue%
set file_dmp=%directory_temp%\%tempvalue%.dmp
set file_log=%directory_temp%\%tempvalue%.log
set winrarPath="C:\Program Files\WinRAR\WinRAR.exe"
set file ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ