锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久一区视频,久久久久久久久久久久久夜,国产高清精品在线http://www.aygfsteel.com/wangqi/archive/2007/03/01/101299.htmlzerobluezeroblueThu, 01 Mar 2007 12:32:00 GMThttp://www.aygfsteel.com/wangqi/archive/2007/03/01/101299.htmlhttp://www.aygfsteel.com/wangqi/comments/101299.htmlhttp://www.aygfsteel.com/wangqi/archive/2007/03/01/101299.html#Feedback0http://www.aygfsteel.com/wangqi/comments/commentRss/101299.htmlhttp://www.aygfsteel.com/wangqi/services/trackbacks/101299.html 鏁版嵁搴撻攣鐨勬蹇碉紝綾誨瀷錛屾帓閿佽鍙ワ細
閿佹槸鏁版嵁搴撲腑鐨勪竴涓潪甯擱噸瑕佺殑姒傚康錛屽畠涓昏鐢ㄤ簬澶氱敤鎴風幆澧冧笅淇濊瘉鏁版嵁搴撳畬鏁存у拰涓鑷存с?鎴戜滑鐭ラ亾錛屽涓敤鎴瘋兘澶熷悓鏃舵搷綰靛悓涓涓暟鎹簱涓殑鏁版嵁錛屼細鍙戠敓鏁版嵁涓嶄竴鑷寸幇璞°傚嵆濡傛灉娌℃湁閿佸畾涓斿涓敤鎴峰悓鏃惰闂竴涓暟鎹簱錛屽垯褰撲粬浠殑浜嬪姟鍚屾椂浣跨敤鐩稿悓鐨勬暟鎹椂鍙兘浼氬彂鐢熼棶棰樸傝繖浜涢棶棰樺寘鎷細涓㈠け鏇存柊銆佽剰璇匯佷笉鍙噸澶嶈鍜屽夠瑙夎銆?br />
鎵懼嚭琛ˋ涓璏瀛楁澶т簬500錛孻錛堟棩鏈燂級鏃╀簬褰撳墠鏁版嵁搴撲竴澶╋紝X瀛楁鍙栧間笉閲嶅鐨勮褰曪細
select * from A where x in
(select x from A group by x having count(x)=1)
and m >500 and y < getdate()-1;

浠庤〃A涓粺璁瀛楁鐨勪笉鍚屽彇鍊兼暟騫跺彧鎶婅褰曟暟澶氫簬5鐨勬壘鍑猴細
select * from A where x in (select x from A group by x having count(x)>5)

璁捐〃B緇撴瀯涓庤〃A鐩稿悓錛屽皢B涓璶瀛楁鍊煎ぇ浜?00鐨勮褰曟彃鍏 錛?br />insert into聽A select * from聽B where n>500

瀵硅〃A錛屽緩绔嬪拰鍒犻櫎M,N瀛楁鑱斿悎鍞竴绱㈠紩錛?br />CREATE UNIQUE聽 INDEX myclumn_index ON A(x,y)
DROP INDEX A.myclumn_index聽
聽娉ㄦ剰錛?/strong>褰撲綘鐨勫唴瀛樺閲忔垨紜洏絀洪棿涓嶈凍鏃訛紝涔熻浣犱笉鎯崇粰涓涓〃澧炲姞绱㈠紩銆傚浜庡寘鍚儲寮曠殑鏁版嵁搴擄紝SQL Sever闇瑕佷竴涓彲瑙傜殑棰濆絀洪棿銆備緥濡傦紝瑕佸緩绔嬩竴涓仛綈囩儲寮曪紝闇瑕佸ぇ綰︼紤.錛掑嶄簬鏁版嵁澶у皬鐨勭┖闂淬傝鐪嬩竴鐪嬩竴涓〃鐨勭儲寮曞湪鏁版嵁搴撲腑鎵鍗犵殑絀洪棿澶у皬錛屼綘鍙互浣跨敤緋葷粺瀛樺偍榪囩▼sp_spaceused錛屽璞″悕鎸囧畾涓鴻绱㈠紩鐨勮〃鍚嶃?/font>



zeroblue 2007-03-01 20:32 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 徐州市| 郸城县| 诏安县| 岳阳市| 乌兰浩特市| 天镇县| 辉南县| 芜湖市| 光泽县| 绥中县| 汽车| 塔城市| 盈江县| 汤阴县| 桐乡市| 灵寿县| 托克逊县| 景泰县| 永善县| 庐江县| 文昌市| 莱阳市| 临泽县| 辽中县| 玉溪市| 广宗县| 恩施市| 南溪县| 博乐市| 格尔木市| 将乐县| 焦作市| 安仁县| 商都县| 亳州市| 南宫市| 正镶白旗| 若羌县| 德格县| 南漳县| 九台市|