锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久亚洲AV无码去区首,亚洲综合国产一区二区三区,国产成人亚洲精品91专区手机http://www.tkk7.com/kelly/category/49860.html鎴戞柊寮浜嗘窐瀹濓紝嬈㈣繋鍏変復鎴戠殑灝忓簵錛歨ttp://shop58314633.taobao.comzh-cnMon, 02 Dec 2013 05:23:13 GMTMon, 02 Dec 2013 05:23:13 GMT60 oracle 蹇熷垹闄ゅぇ鎵歸噺鏁版嵁鏂規硶錛堝叏閮ㄥ垹闄わ紝鏉′歡鍒犻櫎錛屽垹闄ゅぇ閲忛噸澶嶈褰曪級-杞?/title><link>http://www.tkk7.com/kelly/archive/2013/12/02/407090.html</link><dc:creator>kelly</dc:creator><author>kelly</author><pubDate>Mon, 02 Dec 2013 02:49:00 GMT</pubDate><guid>http://www.tkk7.com/kelly/archive/2013/12/02/407090.html</guid><wfw:comment>http://www.tkk7.com/kelly/comments/407090.html</wfw:comment><comments>http://www.tkk7.com/kelly/archive/2013/12/02/407090.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/kelly/comments/commentRss/407090.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/kelly/services/trackbacks/407090.html</trackback:ping><description><![CDATA[<p style="text-align: center; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><strong><span style="font-size: large">鍏ㄩ儴鍒犻櫎</span></strong></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">濡傛灉鏄垹闄ゆ煇涓〃鐨勬墍鏈夋暟鎹紝騫朵笖涓嶉渶瑕佸洖婊氾紝浣跨敤 TRUNCATE 灝眔k浜嗐傚叧浜嶵rancate 鍙傝<a style="color: rgb(51,102,153); text-decoration: none" >榪欓噷http://blog.csdn.net/gnolhh168/archive/2011/05/24/6442561.aspx</a></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SQL> truncate   table   table_name;</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: center; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="font-size: large"><strong>鏉′歡鍒犻櫎</strong></span></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">濡傛灉鍒犻櫎鏁版嵁鏈夋潯浠訛紝濡?delete from tablename where col1 = 'lucy';榪欐椂闄や簡鍔犵儲寮曞, 浣犲彲浠ュ垹闄ゆ椂鍔燦O   LOGGING閫夐」,涓嶅啓鏃ュ織鍔犲揩鍒犻櫎閫熷害</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">寮曠敤鏌愪漢鐨勪竴鍙ヨ瘽“鍑犲崈涓囨潯璁板綍鐨勮〃閮戒笉鍒嗗尯錛屾槑鏄炬湁闂鍢涖侽racle鐨勬妧鏈敮鎸佸伐紼嬪笀寤鴻錛?,000,000鏉′互涓婅褰曠殑琛紝搴旇鑰冭檻鍒嗗尯錛屼綘瀹屽叏鍙互鎸夌収鏃墮棿涓虹淮搴︽潵寤鴻〃錛屾瘡涓湀鐨勬暟鎹瓨鏀懼湪涓涓垎鍖鴻〃涓紝浠ュ悗瑕佸垹闄や竴涓湀鐨勬暟鎹紝鐩存帴truncate   table鍗沖彲錛屼笉璁板綍鏃ュ織錛岄熷害寰堝揩銆?#8221;</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: center; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="font-size: large"><strong> 鍒犻櫎澶ч噺閲嶅璁板綍</strong></span></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">銆婅漿銆嬪仛欏圭洰鐨勬椂鍊欙紝涓浣嶅悓浜嬪鏁版嵁鐨勬椂鍊欙紝涓嶅皬蹇冩妸涓涓〃涓殑鏁版嵁鍏ㄩ兘鎼為噸浜嗭紝涔熷氨鏄錛岃繖涓〃閲屾墍鏈夌殑璁板綍閮芥湁涓鏉¢噸澶嶇殑銆傝繖涓〃鐨勬暟鎹槸鍗冧竾綰х殑錛岃屼笖鏄敓浜х郴緇熴備篃灝辨槸璇達紝涓嶈兘鎶婃墍鏈夌殑璁板綍閮藉垹闄わ紝鑰屼笖蹇呴』蹇熺殑鎶婇噸澶嶈褰曞垹鎺夈?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">瀵規錛屾葷粨浜嗕竴涓嬪垹闄ら噸澶嶈褰曠殑鏂規硶錛屼互鍙婃瘡縐嶆柟娉曠殑浼樼己鐐廣?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">涓轟簡闄堣瘔鏂逛究錛屽亣璁捐〃鍚嶄負Tbl錛岃〃涓湁涓夊垪col1錛宑ol2錛宑ol3錛屽叾涓璫ol1錛宑ol2鏄富閿紝騫朵笖錛宑ol1錛宑ol2涓婂姞浜嗙儲寮曘?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1銆侀氳繃鍒涘緩涓存椂琛?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鍙互鎶婃暟鎹厛瀵煎叆鍒頒竴涓復鏃惰〃涓紝鐒跺悗鍒犻櫎鍘熻〃鐨勬暟鎹紝鍐嶆妸鏁版嵁瀵煎洖鍘熻〃錛孲QL璇彞濡備笅錛?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">creat table tbl_tmp (select distinct* from tbl);</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">truncate table tbl;            //娓呯┖琛ㄨ褰昳</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">nsert into tbl select * from tbl_tmp;//灝嗕復鏃惰〃涓殑鏁版嵁鎻掑洖鏉ャ?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">榪欑鏂規硶鍙互瀹炵幇闇姹傦紝浣嗘槸寰堟槑鏄撅紝瀵逛簬涓涓崈涓囩駭璁板綍鐨勮〃錛岃繖縐嶆柟娉曞緢鎱紝鍦ㄧ敓浜х郴緇熶腑錛岃繖浼氱粰緋葷粺甯︽潵寰堝ぇ鐨勫紑閿錛屼笉鍙銆?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">2銆佸埄鐢╮owid</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鍦╫racle涓紝姣忎竴鏉¤褰曢兘鏈変竴涓猺owid錛宺owid鍦ㄦ暣涓暟鎹簱涓槸鍞竴鐨勶紝rowid紜畾浜嗘瘡鏉¤褰曟槸oracle涓殑鍝竴涓暟鎹枃浠躲佸潡銆佽涓娿傚湪閲嶅鐨勮褰曚腑錛屽彲鑳芥墍鏈夊垪鐨勫唴瀹歸兘鐩稿悓錛屼絾rowid涓嶄細鐩稿悓銆係QL璇彞濡備笅錛?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">delete from tbl where rowid in (select a.rowid</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">from tbl a,            tbl b</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">where a.rowid>b.rowid and a.col1=b.col1 and a.col2 = b.col2) </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">濡傛灉宸茬粡鐭ラ亾姣忔潯璁板綍鍙湁涓鏉¢噸澶嶇殑錛岃繖涓猻ql璇彞閫傜敤銆備絾鏄鏋滄瘡鏉¤褰曠殑閲嶅璁板綍鏈塏鏉★紝榪欎釜N鏄湭鐭ョ殑錛屽氨瑕佽冭檻閫傜敤涓嬮潰榪欑鏂規硶浜嗐?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">3銆佸埄鐢╩ax鎴杕in鍑芥暟</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">榪欓噷涔熻浣跨敤rowid錛屼笌涓婇潰涓嶅悓鐨勬槸緇撳悎max鎴杕in鍑芥暟鏉ュ疄鐜般係QL璇彞濡備笅</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">delete from tbl a</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">where rowid not in (</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">          select max(b.rowid)           </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">          from tbl b</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">           where a.col1=b.col1 and a.col2 = b.col2);            //榪欓噷max浣跨敤min涔熷彲浠?nbsp;</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鎴栬呯敤涓嬮潰鐨勮鍙?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">delete from tbl awhere rowid<(</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">             select max(b.rowid)           </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">             from tbl b</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">             where a.col1=b.col1 and a.col2 = b.col2);            //榪欓噷濡傛灉鎶妋ax鎹㈡垚min鐨勮瘽錛屽墠闈㈢殑where瀛愬彞涓渶瑕佹妸"<"鏀逛負">" </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">璺熶笂闈㈢殑鏂規硶鎬濊礬鍩烘湰鏄竴鏍風殑錛屼笉榪囦嬌鐢ㄤ簡group by錛屽噺灝戜簡鏄炬х殑姣旇緝鏉′歡錛屾彁楂樻晥鐜囥係QL璇彞濡備笅錛?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">deletefrom tbl where rowid not in (</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">                select max(rowid)           </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">               from tbl tgroup by t.col1, t.col2);</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="background-color: rgb(255,0,0)">delete from tbl where (col1, col2)  in (</span></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="background-color: rgb(255,0,0)">                   select col1,col2</span></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="background-color: rgb(255,0,0)">                    from tblgroup bycol1,col2havingcount(*)            >1) and rowidnotin(selectnin(rowid)fromtblgroup bycol1,            col2havingcount(*) >1)    ----錛燂紵錛?/span></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">榪樻湁涓縐嶆柟娉曪紝瀵逛簬琛ㄤ腑鏈夐噸澶嶈褰曠殑璁板綍姣旇緝灝戠殑錛屽茍涓旀湁绱㈠紩鐨勬儏鍐碉紝姣旇緝閫傜敤銆傚亣瀹歝ol1錛宑ol2涓婃湁绱㈠紩錛屽茍涓攖bl琛ㄤ腑鏈夐噸澶嶈褰曠殑璁板綍姣旇緝灝戯紝SQL璇彞濡備笅4銆佸埄鐢╣roup by錛屾彁楂樻晥鐜?/p><img src ="http://www.tkk7.com/kelly/aggbug/407090.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/kelly/" target="_blank">kelly</a> 2013-12-02 10:49 <a href="http://www.tkk7.com/kelly/archive/2013/12/02/407090.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>numtodsinterval and interval for oracle鏃墮棿鍔犲噺鍑芥暟-杞?/title><link>http://www.tkk7.com/kelly/archive/2013/11/22/406656.html</link><dc:creator>kelly</dc:creator><author>kelly</author><pubDate>Fri, 22 Nov 2013 02:39:00 GMT</pubDate><guid>http://www.tkk7.com/kelly/archive/2013/11/22/406656.html</guid><wfw:comment>http://www.tkk7.com/kelly/comments/406656.html</wfw:comment><comments>http://www.tkk7.com/kelly/archive/2013/11/22/406656.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/kelly/comments/commentRss/406656.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/kelly/services/trackbacks/406656.html</trackback:ping><description><![CDATA[<p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">涓銆?nbsp; 璇硶錛歂UMTOYMINTERVAL ( n , 'char_expr' )<br />              char_expr錛氭棩鏈熸弿榪幫紝鍙互鏄痀EAR鍜孧ONTH錛?br /><br />  浣滅敤錛氬彲浠ュ皢鏁板瓧杞崲鎴愮浉搴旂殑鏃ユ湡鍗曚綅鏃墮棿<br /><br />  姣斿錛歂UMTOYMINTERVAL ( 1, 'MONTH' ) 琛ㄧず涓涓湀錛屾敞鎰忥細姝ゆ椂璺焌dd_months鏈夌偣鍖哄埆錛屽悗緇湁渚嬪瓙浼氳鍒般?br />              NUMTOYMINTERVAL ( 1, 'YEAR' ) 琛ㄧず涓騫?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">瀵逛簬day銆乭our銆乵inute銆乻econd浣跨敤鐨勬槸numtodsinterval鍑芥暟錛屾柟娉曞拰numtoyminterval涓鏍楓傚悗闈㈠彲浠ヨ窡鍙橀噺</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">浜屻乮nterval鍚庨潰鍙兘鐢ㄦ暟瀛?/p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">涓嬮潰鏄婦渚嬶細</p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SQL> select<span id="uiaiooy" class="Apple-converted-space"> </span><strong>add_months</strong><span id="mmsoqok" class="Apple-converted-space"> </span>(to_date('20110228','yyyymmdd'),1) from dual;<br /><br />ADD_MONTH<br />---------<br /><strong>31-MAR-11</strong><span id="myoqkcw" class="Apple-converted-space"> </span><br /><br />SQL><span id="smioiwu" class="Apple-converted-space"> </span><br />SQL> select add_months(to_date('20110228','yyyymmdd'),-1) from  dual;<br /><br />ADD_MONTH<br />---------<br />31-JAN-11<br /><br />SQL><span id="eegacsq" class="Apple-converted-space"> </span><br />SQL><span id="iyseyyw" class="Apple-converted-space"> </span><br />SQL> select to_date('2007-02-28','yyyy-mm-dd')+<strong>numtoyminterval</strong><span id="csuoiwe" class="Apple-converted-space"> </span>(1,'month') from dual;<br /><br />TO_DATE('<br />---------<br /><strong>28-MAR-07</strong><span id="mswiowu" class="Apple-converted-space"> </span><br /><br />SQL> select to_date('2007-02-28','yyyy-mm-dd')-<strong>numtoyminterval</strong><span id="yqiuymc" class="Apple-converted-space"> </span>(1,'month') from dual;<br /><br />TO_DATE('<br />---------<br /><strong>28-JAN-07</strong></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><strong><br />姝ゆ椂錛屾敞鎰忚窡add_months榪斿洖緇撴灉鐨勫尯鍒?/strong></p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> </p> <p style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; font: 14px/26px Arial; white-space: normal; orphans: 2; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">SQL> select to_date('2007-02-28','yyyy-mm-dd')+numtodsinterval(1,'day') from dual;<br /><br />TO_DATE('<br />---------<br />01-MAR-07<br /><br /><br />SQL><span id="igseomk" class="Apple-converted-space"> </span><br />SQL> select to_date('2007-02-28','yyyy-mm-dd')+interval '+3' hour from dual;<br /><br />TO_DATE('<br />---------<br />28-FEB-07<br /><br /><br />SQL> select to_date('2007-02-28','yyyy-mm-dd')+interval '+1' month from dual;<br /><br />TO_DATE('<br />---------<br />28-MAR-07</p><img src ="http://www.tkk7.com/kelly/aggbug/406656.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/kelly/" target="_blank">kelly</a> 2013-11-22 10:39 <a href="http://www.tkk7.com/kelly/archive/2013/11/22/406656.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>ora-01033:oracle initialization or shutdown in progress 瑙e喅鏂規硶http://www.tkk7.com/kelly/archive/2013/04/08/397524.htmlkellykellyMon, 08 Apr 2013 06:53:00 GMThttp://www.tkk7.com/kelly/archive/2013/04/08/397524.htmlhttp://www.tkk7.com/kelly/comments/397524.htmlhttp://www.tkk7.com/kelly/archive/2013/04/08/397524.html#Feedback0http://www.tkk7.com/kelly/comments/commentRss/397524.htmlhttp://www.tkk7.com/kelly/services/trackbacks/397524.html浠婂ぉ浣跨敤Oracle閬囧埌浜嗚繖涓棶棰榦ra-01033:oracle initialization or shutdown in progress錛岀粡榪囧垎鏋愮爺絀剁粓浜庤В鍐充簡錛岃涓嬫潵.
鎴戦亣鍒扮殑閿欒鏄?/span>ORA-00600: 鍐呴儴閿欒浠g爜錛屽弬鏁? [kcratr1_lostwrt]

鍒嗘瀽榪囩▼錛?br />
榪愯涓緭鍏md錛屻佽緭鍏qlplus /nolog錛岀劧鍚庣敤 鐢╯ys鐧婚檰銆?/span>

Microsoft Windows [鐗堟湰 5.2.3790]
(C) 鐗堟潈鎵鏈?1985-2003 Microsoft Corp.

E:\Documents and Settings\Administrator>sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on 鏄熸湡涓 4鏈?8 14:20:05 2

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
SQL> connect sys/sys as sysdba;
宸茶繛鎺ャ?br />SQL> shutdown normal
ORA-01109: 鏁版嵁搴撴湭鎵撳紑


宸茬粡鍗歌澆鏁版嵁搴撱?br />ORACLE 渚嬬▼宸茬粡鍏抽棴銆?br />SQL> startup mount
ORACLE 渚嬬▼宸茬粡鍚姩銆?/p>

Total System Global Area  135338868 bytes
Fixed Size                   453492 bytes
Variable Size             109051904 bytes
Database Buffers           25165824 bytes
Redo Buffers                 667648 bytes
鏁版嵁搴撹杞藉畬姣曘?br />
SQL> alter database open;
鍑虹幇浠ヤ笅閿欒錛?br />ORA-00600: 鍐呴儴閿欒浠g爜錛屽弬鏁? [kcratr1_lostwrt]

鍑虹幇璇ラ敊璇槸鍥犱負緋葷粺寮哄埗鍏蟲満閫犳垚鐨?
鐥囩姸涓烘暟鎹簱鏃犳硶鎵撳紑!

瑙e喅榪欎釜閿欒錛?br />
SQL> shutdown normal
ORA-01109: 鏁版嵁搴撴湭鎵撳紑


宸茬粡鍗歌澆鏁版嵁搴撱?br />ORACLE 渚嬬▼宸茬粡鍏抽棴銆?br />SQL> startup mount
ORACLE 渚嬬▼宸茬粡鍚姩銆?/p>

Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
鏁版嵁搴撹杞藉畬姣曘?br />
SQL>recover database;
瀹屾垚浠嬭川鎭㈠
SQL> alter database open;

鏁版嵁搴撳凡鏇存敼
SQL>exit;




 




 



kelly 2013-04-08 14:53 鍙戣〃璇勮
]]>
Linux涓嬪惎鍔∣racle鏈嶅姟鍜岀洃鍚▼搴?/title><link>http://www.tkk7.com/kelly/archive/2011/09/26/359505.html</link><dc:creator>kelly</dc:creator><author>kelly</author><pubDate>Mon, 26 Sep 2011 06:28:00 GMT</pubDate><guid>http://www.tkk7.com/kelly/archive/2011/09/26/359505.html</guid><wfw:comment>http://www.tkk7.com/kelly/comments/359505.html</wfw:comment><comments>http://www.tkk7.com/kelly/archive/2011/09/26/359505.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/kelly/comments/commentRss/359505.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/kelly/services/trackbacks/359505.html</trackback:ping><description><![CDATA[<span style="line-height: 19px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px" class="Apple-style-span"> <p style="margin: 0px 0px 14px" id="fp"><span style="line-height: 19px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px"> </span></p><p style="margin: 0px 0px 14px" id="fp">oracle鏁版嵁搴撴槸閲嶉噺綰х殑錛屽叾綆$悊闈炲父澶嶆潅錛屽皢鍏跺湪linux騫沖彴涓婄殑鍚姩鍜屽叧闂楠ゆ暣鐞嗕竴涓嬨?/p> <p style="margin: 0px 0px 14px">瀹夎瀹屾瘯oracle浠ュ悗錛岄渶瑕佸垱寤簅racle緋葷粺鐢ㄦ埛錛屽茍鍦?home/oracle涓嬮潰鐨?bash_profile娣誨姞鍑犱釜鐜鍙橀噺錛歄RACLE_SID,ORACLE_BASE,ORACLE_HOME銆傛瘮濡傦細</p> <p style="margin: 0px 0px 14px">export ORACLE_SID=test  export ORACLE_BASE=oracle_install_dir export ORACLE_HOME=xxx</p> <p style="margin: 0px 0px 14px">鍚姩姝ラ錛氭敞鎰?浠h〃shell鍛戒護鎻愮ず絎︼紝榪欓噷鐨刼racle鏄?.0浠ヤ笂鐗堟湰銆?br /></p> <p>鍒囨崲鍒皁racle鐢ㄦ埛涓嬮潰錛?br />$ su - oracle</p> <p>$ sqlplus / nolog</p> <p>sql> conn / as sysdba</p> <p>sql> startup (鍚姩鏁版嵁搴擄紝涓鑸笉闇瑕佸姞鍙傛暟錛屽彧瑕佽緗ソ鐜鍙橀噺錛?/p> <p>sql>shutdown 錛堝叧闂暟鎹簱鍏跺弬鏁?錛歴hutdown鏈夊洓涓弬鏁幫紝鍥涗釜鍙傛暟鐨勫惈涔夊涓嬶細<br />Normal 闇瑕佺瓑寰呮墍鏈夌殑鐢ㄦ埛鏂紑榪炴帴<br />Immediate 絳夊緟鐢ㄦ埛瀹屾垚褰撳墠鐨勮鍙?br />Transactional 絳夊緟鐢ㄦ埛瀹屾垚褰撳墠鐨勪簨鍔?br />Abort 涓嶅仛浠諱綍絳夊緟錛岀洿鎺ュ叧闂暟鎹簱<br />normal闇瑕佸湪鎵鏈夎繛鎺ョ敤鎴鋒柇寮鍚庢墠鎵ц鍏抽棴鏁版嵁搴撲換鍔★紝鎵浠ユ湁鐨勬椂鍊欑湅璧鋒潵濂借薄鍛戒護娌℃湁榪愯涓鏍鳳紒鍦ㄦ墽琛岃繖涓懡浠ゅ悗涓嶅厑璁告柊鐨勮繛鎺?br />immediate鍦ㄧ敤鎴鋒墽琛屽畬姝e湪鎵ц鐨勮鍙ュ悗灝辨柇寮鐢ㄦ埛榪炴帴錛屽茍涓嶅厑璁告柊鐢ㄦ埛榪炴帴銆?br />transactional 鍦ㄦ嫢鎶ゆ墽琛屽畬褰撳墠浜嬬墿鍚庢柇寮榪炴帴錛屽茍涓嶅厑璁告柊鐨勭敤鎴瘋繛鎺ユ暟鎹簱銆?br />abort 鎵ц寮鴻鏂紑榪炴帴騫剁洿鎺ュ叧闂暟鎹簱銆?br /></p> <p>sql> quit (閫鍑簊ql妯″紡)<br /><br />鍚姩鐩戝惉鍣細<br /></p> <p>$ su - oracle<br />鐒跺悗鍒囨崲鍒?oracle_home/bin涓嬮潰錛屾墽琛屼笅闈㈠懡浠?/p> <p>$lsnrctl start (鍚姩鐩戝惉鍣級<br />$lsnrctl status (鏌ョ湅鐩戝惉鍣ㄥ惎鍔ㄧ姸鎬?<br />$lsnrctl stop(鍏抽棴鐩戝惉鍣?</p> <p> </p> <p style="margin: 0px 0px 14px">緇忓父閬囧埌鐨勯棶棰橈細</p> <p style="margin: 0px 0px 14px">1錛夋潈闄愰棶棰橈紝瑙e喅鏂規硶錛屽垏鎹㈠埌oracle鐢ㄦ埛錛?/p> <p style="margin: 0px 0px 14px">2錛夋病鏈夊叧闂洃鍚櫒 錛岃В鍐蟲柟娉曪細鍏抽棴鐩戝惉鍣?/p> <p style="margin: 0px 0px 14px">3錛夋湁oracle瀹炰緥娌℃湁鍏抽棴錛岃В鍐沖姙娉曪細鍏抽棴oracle瀹炰緥</p> <p style="margin: 0px 0px 14px">4錛夌幆澧冨彉閲忚緗笉鍏紝瑙e喅鍔炴硶錛氫慨鏀圭幆澧冨彉閲?/p></span> <h2 style="line-height: normal; margin: 0px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: #444444; font-size: 12px"><a id="viewpost1_TitleUrl" class="singleposttitle" ></a></h2><img src ="http://www.tkk7.com/kelly/aggbug/359505.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/kelly/" target="_blank">kelly</a> 2011-09-26 14:28 <a href="http://www.tkk7.com/kelly/archive/2011/09/26/359505.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>杞細oracle澶囦喚鏁版嵁搴撳懡浠?/title><link>http://www.tkk7.com/kelly/archive/2011/09/26/359504.html</link><dc:creator>kelly</dc:creator><author>kelly</author><pubDate>Mon, 26 Sep 2011 06:27:00 GMT</pubDate><guid>http://www.tkk7.com/kelly/archive/2011/09/26/359504.html</guid><wfw:comment>http://www.tkk7.com/kelly/comments/359504.html</wfw:comment><comments>http://www.tkk7.com/kelly/archive/2011/09/26/359504.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/kelly/comments/commentRss/359504.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/kelly/services/trackbacks/359504.html</trackback:ping><description><![CDATA[<span style="line-height: 20px; font-family: Arial; letter-spacing: 1px; color: #989a59; font-size: 12px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span"><span style="line-height: 20px; font-family: Arial; letter-spacing: 1px; color: #989a59; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px">瀵煎嚭 exp userid/pwdid@servername file=dataname.dmp<br style="line-height: normal" />瀵煎叆 imp username/pwdid@servername file=dataname.dmp<br style="line-height: normal" />Oracle鏁版嵁瀵煎叆瀵煎嚭imp/exp灝辯浉褰撲簬oracle鏁版嵁榪樺師涓庡浠姐俥xp鍛戒護鍙互鎶婃暟鎹粠榪滅▼鏁版嵁搴撴湇鍔″櫒瀵煎嚭鍒版湰鍦扮殑dmp鏂?浠訛紝imp鍛戒護鍙互鎶奷mp鏂囦歡浠庢湰鍦板鍏ュ埌榪滃鐨勬暟鎹簱鏈嶅姟鍣ㄤ腑銆?鍒╃敤榪欎釜鍔熻兘鍙互鏋勫緩涓や釜鐩稿悓鐨勬暟鎹簱錛屼竴涓敤鏉ユ祴璇曪紝涓涓敤鏉ユ寮忎嬌鐢ㄣ?br style="line-height: normal" /><br style="line-height: normal" />鎵ц鐜錛氬彲浠ュ湪SQLPLUS.EXE鎴栬匘OS錛堝懡浠よ錛変腑鎵ц錛?br style="line-height: normal" />DOS涓彲浠ユ墽琛屾椂鐢變簬 鍦╫racle 8i 涓?瀹夎鐩綍\ora81\BIN琚緗負鍏ㄥ眬璺緞錛?br style="line-height: normal" />璇ョ洰褰曚笅鏈塃XP.EXE涓嶪MP.EXE鏂囦歡琚敤鏉ユ墽琛屽鍏ュ鍑恒?br style="line-height: normal" />oracle鐢╦ava緙栧啓錛孲QLPLUS.EXE銆丒XP.EXE銆両MP.EXE榪欎袱涓枃浠舵湁鍙兘鏄鍖呰鍚庣殑綾繪枃浠躲?br style="line-height: normal" />SQLPLUS.EXE璋冪敤EXP.EXE銆両MP.EXE鎵鍖呰9鐨勭被錛屽畬鎴愬鍏ュ鍑哄姛鑳姐?br style="line-height: normal" /><br style="line-height: normal" />涓嬮潰浠嬬粛鐨勬槸瀵煎叆瀵煎嚭鐨勫疄渚嬨?br style="line-height: normal" />鏁版嵁瀵煎嚭錛?br style="line-height: normal" />1 灝嗘暟鎹簱TEST瀹屽叏瀵煎嚭,鐢ㄦ埛鍚峴ystem 瀵嗙爜manager 瀵煎嚭鍒癉:\daochu.dmp涓?br style="line-height: normal" />   exp <a style="line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #989a59; font-size: 12px; font-weight: normal; text-decoration: none" href="mailto:system/manager@TEST"><u style="line-height: normal">system/manager@TEST</u></a> file=d:\daochu.dmp full=y<br style="line-height: normal" />2 灝嗘暟鎹簱涓璼ystem鐢ㄦ埛涓巗ys鐢ㄦ埛鐨勮〃瀵煎嚭<br style="line-height: normal" />   exp <a style="line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #989a59; font-size: 12px; font-weight: normal; text-decoration: none" href="mailto:system/manager@TEST"><u style="line-height: normal">system/manager@TEST</u></a> file=d:\daochu.dmp owner=(system,sys)<br style="line-height: normal" />3 灝嗘暟鎹簱涓殑琛╥nner_notify銆乶otify_staff_relat瀵煎嚭<br style="line-height: normal" />    exp <a style="line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #989a59; font-size: 12px; font-weight: normal; text-decoration: none" href="mailto:aichannel/aichannel@TESTDB2"><u style="line-height: normal">aichannel/aichannel@TESTDB2</u></a> file= d:\data\newsmgnt.dmp tables=(inner_notify,notify_staff_relat) <br style="line-height: normal" /><br style="line-height: normal" />4 灝嗘暟鎹簱涓殑琛╰able1涓殑瀛楁filed1浠?00"鎵撳ご鐨勬暟鎹鍑?br style="line-height: normal" />   exp <a style="line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #989a59; font-size: 12px; font-weight: normal; text-decoration: none" href="mailto:system/manager@TEST"><u style="line-height: normal">system/manager@TEST</u></a> file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"<br style="line-height: normal" /><br style="line-height: normal" />涓婇潰鏄父鐢ㄧ殑瀵煎嚭錛屽浜庡帇緙╋紝鏃㈢敤winzip鎶奷mp鏂囦歡鍙互寰堝ソ鐨勫帇緙┿?br style="line-height: normal" />涔熷彲浠ュ湪涓婇潰鍛戒護鍚庨潰 鍔犱笂 compress=y 鏉ュ疄鐜般? <p style="line-height: normal">鏁版嵁鐨勫鍏?br style="line-height: normal" />1 灝咲:\daochu.dmp 涓殑鏁版嵁瀵煎叆 TEST鏁版嵁搴撲腑銆?br style="line-height: normal" />   imp <a style="line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #989a59; font-size: 12px; font-weight: normal; text-decoration: none" href="mailto:system/manager@TEST"><u style="line-height: normal">system/manager@TEST</u></a> file=d:\daochu.dmp<br style="line-height: normal" />   imp <a style="line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #989a59; font-size: 12px; font-weight: normal; text-decoration: none" href="mailto:aichannel/aichannel@HUST"><u style="line-height: normal">aichannel/aichannel@HUST</u></a> full=y file=file= d:\data\newsmgnt.dmp ignore=y <br style="line-height: normal" />   涓婇潰鍙兘鏈夌偣闂錛屽洜涓烘湁鐨勮〃宸茬粡瀛樺湪錛岀劧鍚庡畠灝辨姤閿欙紝瀵硅琛ㄥ氨涓嶈繘琛屽鍏ャ?br style="line-height: normal" />   鍦ㄥ悗闈㈠姞涓?ignore=y 灝卞彲浠ヤ簡銆?br style="line-height: normal" />2 灝哾:\daochu.dmp涓殑琛╰able1 瀵煎叆<br style="line-height: normal" />imp <a style="line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #989a59; font-size: 12px; font-weight: normal; text-decoration: none" href="mailto:system/manager@TEST"><u style="line-height: normal">system/manager@TEST</u></a> file=d:\daochu.dmp tables=(table1) <br style="line-height: normal" /><br style="line-height: normal" />鍩烘湰涓婁笂闈㈢殑瀵煎叆瀵煎嚭澶熺敤浜嗐備笉灝戞儏鍐佃鍏堟槸灝嗚〃褰誨簳鍒犻櫎錛岀劧鍚庡鍏ャ?br style="line-height: normal" /><br style="line-height: normal" />娉ㄦ剰錛?br style="line-height: normal" />鎿嶄綔鑰呰鏈夎凍澶熺殑鏉冮檺錛屾潈闄愪笉澶熷畠浼氭彁紺恒?br style="line-height: normal" />鏁版嵁搴撴椂鍙互榪炰笂鐨勩傚彲浠ョ敤tnsping TEST 鏉ヨ幏寰楁暟鎹簱TEST鑳藉惁榪炰笂銆?/p> <p style="line-height: normal">闄勫綍涓錛?br style="line-height: normal" />緇欑敤鎴峰鍔犲鍏ユ暟鎹潈闄愮殑鎿嶄綔<br style="line-height: normal" />絎竴,鍚姩sql*puls<br style="line-height: normal" />絎簩錛屼互system/manager鐧婚檰<br style="line-height: normal" />絎笁錛宑reate user 鐢ㄦ埛鍚?IDENTIFIED BY 瀵嗙爜 錛堝鏋滃凡緇忓垱寤鴻繃鐢ㄦ埛錛岃繖姝ュ彲浠ョ渷鐣ワ級<br style="line-height: normal" />絎洓錛孏RANT CREATE USER,DROP USER,ALTER USER ,CREATE ANY VIEW ,<br style="line-height: normal" />   DROP ANY VIEW,EXP_FULL_DATABASE,IMP_FULL_DATABASE,<br style="line-height: normal" />    DBA,CONNECT,RESOURCE,CREATE SESSION TO 鐢ㄦ埛鍚嶅瓧 <br style="line-height: normal" />絎簲, 榪愯-cmd-榪涘叆dmp鏂囦歡鎵鍦ㄧ殑鐩綍, <br style="line-height: normal" />    imp userid=system/manager full=y file=*.dmp<br style="line-height: normal" />     鎴栬?imp userid=system/manager full=y file=filename.dmp</p> <p style="line-height: normal">鎵ц紺轟緥:<br style="line-height: normal" />F:\Work\Oracle_Data\backup>imp userid=test/test full=y file=inner_notify.dmp</p> <p style="line-height: normal">灞忓箷鏄劇ず<br style="line-height: normal" />Import: Release 8.1.7.0.0 - Production on 鏄熸湡鍥?2鏈?16 16:50:05 2006<br style="line-height: normal" />(c) Copyright 2000 Oracle Corporation. All rights reserved.</p> <p style="line-height: normal">榪炴帴鍒? Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production<br style="line-height: normal" />With the Partitioning option<br style="line-height: normal" />JServer Release 8.1.7.0.0 - Production</p> <p style="line-height: normal">緇忕敱甯歌璺緞瀵煎嚭鐢盓XPORT:V08.01.07鍒涘緩鐨勬枃浠?br style="line-height: normal" />宸茬粡瀹屾垚ZHS16GBK瀛楃闆嗗拰ZHS16GBK NCHAR 瀛楃闆嗕腑鐨勫鍏?br style="line-height: normal" />瀵煎嚭鏈嶅姟鍣ㄤ嬌鐢║TF8 NCHAR 瀛楃闆?(鍙兘鐨刵charset杞崲)<br style="line-height: normal" />. 姝e湪灝咥ICHANNEL鐨勫璞″鍏ュ埌 AICHANNEL<br style="line-height: normal" />. . 姝e湪瀵煎叆琛?nbsp;                 "INNER_NOTIFY"          4琛岃瀵煎叆<br style="line-height: normal" />鍑嗗鍚敤綰︽潫鏉′歡...<br style="line-height: normal" />鎴愬姛緇堟瀵煎叆錛屼絾鍑虹幇璀﹀憡銆?/p> <p style="line-height: normal"><br style="line-height: normal" />闄勫綍浜岋細<br style="line-height: normal" />Oracle 涓嶅厑璁哥洿鎺ユ敼鍙樿〃鐨勬嫢鏈夎? 鍒╃敤Export/Import鍙互杈懼埌榪欎竴鐩殑.<br style="line-height: normal" />鍏堝緩绔媔mport9.par,<br style="line-height: normal" />鐒跺悗錛屼嬌鐢ㄦ椂鍛戒護濡備笅錛歩mp parfile=/filepath/import9.par<br style="line-height: normal" />渚?import9.par 鍐呭濡備笅錛?br style="line-height: normal" />        FROMUSER=TGPMS        <br style="line-height: normal" />        TOUSER=TGPMS2     錛堟敞錛氭妸琛ㄧ殑鎷ユ湁鑰呯敱FROMUSER鏀逛負TOUSER錛孎ROMUSER鍜孴OUSER鐨勭敤鎴峰彲浠ヤ笉鍚岋級           <br style="line-height: normal" />        ROWS=Y<br style="line-height: normal" />        INDEXES=Y<br style="line-height: normal" />        GRANTS=Y<br style="line-height: normal" />        CONSTRAINTS=Y<br style="line-height: normal" />        BUFFER=409600<br style="line-height: normal" />        file==/backup/ctgpc_20030623.dmp<br style="line-height: normal" />        log==/backup/import_20030623.log</p></span></span><span style="line-height: normal; font-family: Arial; letter-spacing: 1px; color: #989a59; font-size: 12px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span">緇忛獙璇侊紝灞炲悎鏍間駭鍝侊紒</span><img src ="http://www.tkk7.com/kelly/aggbug/359504.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/kelly/" target="_blank">kelly</a> 2011-09-26 14:27 <a href="http://www.tkk7.com/kelly/archive/2011/09/26/359504.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://sswg2.com" target="_blank">亚洲综合无码AV一区二区 </a>| <a href="http://51nianyefan.com" target="_blank">精品国产亚洲一区二区在线观看</a>| <a href="http://yongyihongze.com" target="_blank">亚洲日本国产乱码va在线观看</a>| <a href="http://cztshw.com" target="_blank">国产在线一区二区综合免费视频 </a>| <a href="http://kan63.com" target="_blank">国产无遮挡吃胸膜奶免费看视频 </a>| <a href="http://w6446.com" target="_blank">国产偷国产偷亚洲高清人</a>| <a href="http://helloyp.com" target="_blank">日本视频免费在线</a>| <a href="http://chiyizi.com" target="_blank">激情小说亚洲图片</a>| <a href="http://222941.com" target="_blank">亚洲国产精品综合久久一线</a>| <a href="http://fdhkauto.com" target="_blank">美女羞羞视频免费网站</a>| <a href="http://ge2hao.com" target="_blank">亚洲福利精品一区二区三区 </a>| <a href="http://dzhankong.com" target="_blank">亚洲视频免费在线观看</a>| <a href="http://kingleadsw.com" target="_blank">亚洲好看的理论片电影</a>| <a href="http://gangxiangli.com" target="_blank">美女内射无套日韩免费播放 </a>| <a href="http://gysysz.com" target="_blank">亚洲日本香蕉视频</a>| <a href="http://ksp33.com" target="_blank">成人免费无毒在线观看网站</a>| <a href="http://58f8.com" target="_blank">亚洲色成人网站WWW永久四虎 </a>| <a href="http://kdltuliao.com" target="_blank">亚洲精华国产精华精华液网站</a>| <a href="http://tom-erc20.com" target="_blank">日美韩电影免费看</a>| <a href="http://416164.com" target="_blank">污视频网站在线观看免费</a>| <a href="http://xianliwang.com" target="_blank">国产亚洲精品无码拍拍拍色欲</a>| <a href="http://wlzp88.com" target="_blank">中文字幕视频在线免费观看</a>| <a href="http://wlzp88.com" target="_blank">亚洲成在人天堂一区二区</a>| <a href="http://gztzbj.com" target="_blank">69成人免费视频</a>| <a href="http://sxjttxkywl.com" target="_blank">亚洲日韩看片无码电影</a>| <a href="http://wumase.com" target="_blank">亚洲精品乱码久久久久久蜜桃 </a>| <a href="http://nit8.com" target="_blank">色se01短视频永久免费</a>| <a href="http://jxszzhzs.com" target="_blank">337p日本欧洲亚洲大胆人人</a>| <a href="http://sxjttxkywl.com" target="_blank">亚洲精品国产va在线观看蜜芽</a>| <a href="http://cc19123.com" target="_blank">最近免费mv在线观看动漫</a>| <a href="http://18736374.com" target="_blank">亚洲一区二区三区免费在线观看</a>| <a href="http://cswsfz.com" target="_blank">国产美女精品久久久久久久免费 </a>| <a href="http://se969.com" target="_blank">在线观看人成视频免费无遮挡</a>| <a href="http://91xx8.com" target="_blank">亚洲视频手机在线</a>| <a href="http://gdbobo.com" target="_blank">国产一级淫片a视频免费观看</a>| <a href="http://ur5r2kr.com" target="_blank">中文字幕不卡免费视频</a>| <a href="http://www621f.com" target="_blank">亚洲国产精品综合久久网各</a>| <a href="http://quxx10.com" target="_blank">亚洲av无码成人精品区在线播放</a>| <a href="http://93qsgy.com" target="_blank">国产真人无码作爱视频免费</a>| <a href="http://tsxyhq.com" target="_blank">亚洲性无码AV中文字幕</a>| <a href="http://18736374.com" target="_blank">亚洲精品乱码久久久久久中文字幕</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>