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

OracleÊý¾Ý¿â¡°Ghost¡±

1¡¢Í¨¹ýToad½«Êý¾Ý¿É½á¹¹Éú³ÉSQL£¨×¢ÒâÓû§£©¡£
     [DataBase] [Export] [GenerateSchmaScript]
2¡¢´´½¨DBLink.
     DROP PUBLIC DATABASE LINK "ROOT.US.ORACLE.COM";
     CREATE PUBLIC DATABASE LINK "ROOT.US.ORACLE.COM"
     CONNECT TO SISAL_SH
     IDENTIFIED BY <PWD>
     USING 'root';
     alter system set globe_space = false
3¡¢Êý¾ÝµÄµ¼³ö¡¢µ¼Èë
     select * from user_tables;
     select 'INSERT INTO '||table_name||' select * from '||table_name||'@root;' from user_tables where table_name like    'C_%';


Ïà¹ØÎĵµ£º

oracleÊý¾Ý¿â±¸·Ýµ¼ÈëҪעÒâµÄ¼¸¸öÎÊÌâ

£¨1£©oracleÊý¾Ý¿â±¸·ÝµÄµ¼Èë¶ÔÊý¾Ý¿âµÄ°æ±¾ÓÐÒªÇó£¬Ò²¼´Ô´Êý¾Ý¿â£¨µ¼³ö²úÉú±¸·ÝµÄÊý¾Ý¿â£©µÄ°æ±¾ÒªºÍÄ¿±êÊý¾Ý¿â£¨µ¼ÈëÊý¾Ý¿â£©µÄ°æ±¾Ò»Ö£¬·ñÔò¿ÉÄܵ¼Öµ¼Èëʧ°Ü¡£
£¨2£©±¸·ÝÖеÄÓû§Ãû£¨Êý¾Ý¿âµ¼³öʱËùʹÓõÄÓû§£©ºÍµ¼ÈëÊý¾Ý¿âµÄÓû§Ãû×îºÃÒ»Ñù£¬ÒòΪÓû§ÃûºÍ±í¿Õ¼äÃüÃûÓйØϵ£¬Èç¹û²»Ò»Ñù£¬µ¼Èë¾Í²»ÄÜÒ»´ÎÍê³É¡£Ò²¾ÍÊÇ ......

CodeSmithÁ¬½ÓAccess,Sql,Oracle,mysql

ACCESSÊý¾Ý¿â
1:CodeSmithÑ¡ÖÐÁ´½ÓÀàÐÍÊÇ£ºADOXSchema
2:ÎÞÃÜÂëµÄAccessÁ´½ÓΪ£º
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\hh\db.mdb;
3:ÓÐÃÜÂëµÄAccessÁ´½Ó£º
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\hh\db.mdb;
Jet OLEDB:Database Password=1111
SqlÊý¾Ý¿â
server=192.1.1.14;User ID=test; ......

½â³ýoracleÊý¾Ý¿âÖÐËùÓÐÍâ¼üÔ¼ÊøSQLÓï¾ä

begin
  for item in (select * from user_constraints a where a.constraint_type = 'R') loop
  execute immediate 'alter table ' || item.table_name || ' disable constraint ' || item.constraint_name;
  end loop;
end;
/ ......

Oracle×Ö·û´®´¦Àíº¯Êý


ÏîÄ¿ÖÐÓÐÉæ¼°´æ´¢¹ý³Ì¶Ô×Ö·û´®µÄ´¦Àí£¬ËùÒԾͽ«ÔÚÍøÉϲéÕÒµ½µÄ×ÊÁÏ»ã×Ü£¬×öÒ»¸öÐÅϢƴ½ÓʽµÄ×ܽᡣ
ÒÔÏÂÐÅÏ¢¾ùÀ´×Ô»¥ÁªÍø£¬Ìù³öÀ´Ò»Ôò×Ô¼º±£´æÒÔ´ýÒÔºóʹÓã¬Ò»Ôò¹©´ó¼Ò·ÖÏí¡£
×Ö·ûº¯Êý——·µ»Ø×Ö·ûÖµ
ÕâЩº¯ÊýÈ«¶¼½ÓÊÕµÄÊÇ×Ö·û×åÀàÐ͵IJÎÊý(CHR³ýÍâ)²¢ÇÒ·µ»Ø×Ö·ûÖµ.
³ýÁËÌرð˵Ã÷µÄÖ®Íâ,ÕâЩº¯Êý´ó²¿·Ö·µ» ......

Oracle RAC ¾²Ä¬°²×°Êµ¼ù

°²×°
1.    Íê³ÉRAC°²×°Ç°µÄ×¼±¸¹¤×÷
1.1      ͬÕý³£°²×°Oracle RACµÄ°²×°Ç°ÅäÖá£Ö÷Òª°üÀ¨ÒÔϼ¸¸ö²¿·Ö£º
£¨1£©  ÈíÓ²¼þ»·¾³¼ì²é
£¨2£©  ÍøÂçÅäÖÃ
£¨3£©  Ïà¹ØÓû§ºÍĿ¼µÄ´´½¨
£¨4£©  Óû§»·¾³¼°ÏµÍ³»·¾³ÉèÖÃ
£¨5£©  ÅäÖÃÔ¶³Ì·ÃÎÊ
£¨6£©  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ