锘??xml version="1.0" encoding="utf-8" standalone="yes"?>一本久久综合亚洲鲁鲁五月天,亚洲国产精品无码久久,热99re久久国超精品首页http://www.shnenglu.com/qiaodong/archive/2007/07/19/28355.html涔旀爧涔旀爧Thu, 19 Jul 2007 06:42:00 GMThttp://www.shnenglu.com/qiaodong/archive/2007/07/19/28355.htmlhttp://www.shnenglu.com/qiaodong/comments/28355.htmlhttp://www.shnenglu.com/qiaodong/archive/2007/07/19/28355.html#Feedback0http://www.shnenglu.com/qiaodong/comments/commentRss/28355.htmlhttp://www.shnenglu.com/qiaodong/services/trackbacks/28355.htmlMySQL鏀寔澶ч噺鐨勫垪綾誨瀷錛屽畠鍙互琚垎涓?綾伙細鏁板瓧綾誨瀷銆佹棩鏈熷拰鏃墮棿綾誨瀷浠ュ強瀛楃涓?瀛楃)綾誨瀷銆傛湰鑺傞鍏堢粰鍑哄彲鐢ㄧ被鍨嬬殑涓涓榪幫紝騫朵笖鎬葷粨姣忎釜鍒楃被鍨嬬殑瀛樺偍闇姹傦紝鐒跺悗鎻愪緵姣忎釜綾諱腑鐨勭被鍨嬫ц川鐨勬洿璇︾粏鐨勬弿榪般傛榪版湁鎰忕畝鍖栵紝鏇磋緇嗙殑璇存槑搴旇鑰冭檻鍒版湁鍏崇壒瀹氬垪綾誨瀷鐨勯檮鍔犱俊鎭紝渚嬪浣犺兘涓哄叾鎸囧畾鍊肩殑鍏佽鏍煎紡銆?

鐢盡ySQL鏀寔鐨勫垪綾誨瀷鍒楀湪涓嬮潰銆備笅鍒椾唬鐮佸瓧姣嶇敤浜庢弿榪頒腑錛?

M
鎸囧嚭鏈澶х殑鏄劇ず灝哄銆傛渶澶х殑鍚堟硶鐨勬樉紺哄昂瀵告槸 255 銆?
D
閫傜敤浜庢誕鐐圭被鍨嬪茍涓旀寚鍑鴻窡闅忓湪鍗佽繘鍒跺皬鏁扮偣鍚庣殑鏁扮爜鐨勬暟閲忋傛渶澶у彲鑳界殑鍊兼槸30錛屼絾鏄簲璇ヤ笉澶т簬M-2銆?
鏂規(guī)嫭鍙?“[”鍜?#8220;]”)鎸囧嚭鍙夌殑綾誨瀷淇グ絎︾殑閮ㄥ垎銆?

娉ㄦ剰錛屽鏋滀綘鎸囧畾涓涓簡涓篫EROFILL錛孧ySQL灝嗕負璇ュ垪鑷姩鍦板鍔燯NSIGNED灞炴с?

TINYINT[(M)] [UNSIGNED] [ZEROFILL]
涓涓緢灝忕殑鏁存暟銆傛湁絎﹀彿鐨勮寖鍥存槸-128鍒?27錛屾棤絎﹀彿鐨勮寖鍥存槸0鍒?55銆?


SMALLINT[(M)] [UNSIGNED] [ZEROFILL]
涓涓皬鏁存暟銆傛湁絎﹀彿鐨勮寖鍥存槸-32768鍒?2767錛屾棤絎﹀彿鐨勮寖鍥存槸0鍒?5535銆?

MEDIUMINT[(M)] [UNSIGNED] [ZEROFILL]
涓涓腑絳夊ぇ灝忔暣鏁般傛湁絎﹀彿鐨勮寖鍥存槸-8388608鍒?388607錛屾棤絎﹀彿鐨勮寖鍥存槸0鍒?6777215銆?

INT[(M)] [UNSIGNED] [ZEROFILL]
涓涓甯稿ぇ灝忔暣鏁般傛湁絎﹀彿鐨勮寖鍥存槸-2147483648鍒?147483647錛屾棤絎﹀彿鐨勮寖鍥存槸0鍒?294967295銆?

INTEGER[(M)] [UNSIGNED] [ZEROFILL]
榪欐槸INT鐨勪竴涓悓涔夎瘝銆?

BIGINT[(M)] [UNSIGNED] [ZEROFILL]

涓涓ぇ鏁存暟銆傛湁絎﹀彿鐨勮寖鍥存槸-9223372036854775808鍒?223372036854775807錛屾棤絎﹀彿鐨勮寖鍥存槸0鍒?

18446744073709551615銆傛敞鎰忥紝鎵鏈夌畻鏈繍綆楃敤鏈夌鍙風殑BIGINT鎴朌OUBLE鍊煎畬鎴愶紝鍥犳浣犱笉搴旇浣跨敤澶т簬9223372036854775807錛?3浣?鐨勬湁絎﹀彿澶ф暣鏁幫紝闄や簡浣嶅嚱鏁幫紒娉ㄦ剰錛屽綋涓や釜鍙傛暟鏄疘NTEGER鍊兼椂錛?銆?鍜?灝嗕嬌鐢˙IGINT榪愮畻錛佽繖鎰忓懗鐫濡傛灉浣犱箻2涓ぇ鏁存暟(鎴栨潵鑷簬榪斿洖鏁存暟鐨勫嚱鏁?錛屽鏋滅粨鏋滃ぇ浜?223372036854775807錛屼綘鍙互寰楀埌鎰忓鐨勭粨鏋溿備竴涓誕鐐規(guī)暟瀛楋紝涓嶈兘鏄棤絎﹀彿鐨勶紝瀵逛竴涓崟綺懼害嫻偣鏁幫紝鍏剁簿搴﹀彲浠ユ槸<=24錛屽涓涓弻綺懼害嫻偣鏁幫紝鏄湪25 鍜?3涔嬮棿錛岃繖浜涚被鍨嬪FLOAT鍜孌OUBLE綾誨瀷椹笂鍦ㄤ笅闈㈡弿榪般侳LOAT(X)鏈夊搴旂殑FLOAT鍜孌OUBLE鐩稿悓鐨勮寖鍥達紝浣嗘槸鏄劇ず灝哄鍜屽皬鏁頒綅鏁版槸鏈畾涔夌殑銆傚湪MySQL3.23涓紝榪欐槸涓涓湡姝g殑嫻偣鍊箋傚湪鏇存棭鐨凪ySQL鐗堟湰涓紝FLOAT(precision)鎬繪槸鏈?浣嶅皬鏁般傝鍙ユ硶涓轟簡ODBC鍏煎鎬ц屾彁渚涖?

FLOAT[(M,D)] [ZEROFILL]
涓涓皬(鍗曠簿瀵?嫻偣鏁板瓧銆備笉鑳芥棤絎﹀彿銆傚厑璁哥殑鍊兼槸-3.402823466E+38鍒?1.175494351E-38錛? 鍜?.175494351E-38鍒?.402823466E+38銆侻鏄樉紺哄搴﹁孌鏄皬鏁扮殑浣嶆暟銆傛病鏈夊弬鏁扮殑FLOAT鎴栨湁<24 鐨勪竴涓弬鏁拌〃紺轟竴涓崟綺懼瘑嫻偣鏁板瓧銆?

DOUBLE[(M,D)] [ZEROFILL]
涓涓甯稿ぇ灝?鍙岀簿瀵?嫻偣鏁板瓧銆備笉鑳芥棤絎﹀彿銆傚厑璁哥殑鍊兼槸-1.7976931348623157E+308鍒?2.2250738585072014E-308銆?0鍜?.2250738585072014E-308鍒?.7976931348623157E+308銆侻鏄樉紺哄搴﹁孌鏄皬鏁頒綅鏁般傛病鏈変竴涓弬鏁扮殑DOUBLE鎴朏LOAT(X)錛?5 < = X < = 53錛変唬琛ㄤ竴涓弻綺懼瘑嫻偣鏁板瓧銆?

DOUBLE PRECISION[(M,D)] [ZEROFILL]


REAL[(M,D)] [ZEROFILL]
榪欎簺鏄疍OUBLE鍚屼箟璇嶃?

DECIMAL[(M[,D])] [ZEROFILL]
涓涓湭鍘嬬緝(unpack)鐨勬誕鐐規(guī)暟瀛椼備笉鑳芥棤絎﹀彿銆傝涓哄鍚屼竴涓狢HAR鍒楋細“鏈帇緙?#8221;鎰忓懗鐫鏁板瓧浣滀負涓涓瓧絎︿覆琚瓨鍌紝鍊肩殑姣忎竴浣嶄嬌鐢ㄤ竴涓瓧絎︺傚皬鏁扮偣錛屽茍涓斿浜庤礋鏁幫紝“-”絎﹀彿涓嶅湪M涓綆椼傚鏋淒鏄?錛屽煎皢娌℃湁灝忔暟鐐規(guī)垨灝忔暟閮ㄥ垎銆侱ECIMAL鍊肩殑鏈澶ц寖鍥翠笌DOUBLE鐩稿悓錛屼絾鏄涓涓粰瀹氱殑DECIMAL鍒楋紝瀹為檯鐨勮寖鍥村彲浠ラ氳繃M鍜孌鐨勯夋嫨琚檺鍒躲傚鏋淒琚渷鐣ワ紝瀹冭璁劇疆涓?銆傚鏋淢琚渷鎺夛紝瀹冭璁劇疆涓?0銆傛敞鎰忥紝鍦∕ySQL3.22閲岋紝M鍙傛暟鍖呮嫭絎﹀彿鍜屽皬鏁扮偣銆?

NUMERIC(M,D) [ZEROFILL]
榪欐槸DECIMAL鐨勪竴涓悓涔夎瘝銆?

DATE
涓涓棩鏈熴傛敮鎸佺殑鑼冨洿鏄?1000-01-01'鍒?9999-12-31'銆侻ySQL浠?YYYY-MM-DD'鏍煎紡鏉ユ樉紺篋ATE鍊鹼紝浣嗘槸鍏佽浣犱嬌鐢ㄥ瓧絎︿覆鎴栨暟瀛楁妸鍊艱祴緇橠ATE鍒椼?

DATETIME
涓涓棩鏈熷拰鏃墮棿緇勫悎銆傛敮鎸佺殑鑼冨洿鏄?1000-01-01 00:00:00'鍒?9999-12-31 23:59:59'銆侻ySQL浠?YYYY-MM-DD HH:MM:SS'鏍煎紡鏉ユ樉紺篋ATETIME鍊鹼紝浣嗘槸鍏佽浣犱嬌鐢ㄥ瓧絎︿覆鎴栨暟瀛楁妸鍊艱祴緇橠ATETIME鐨勫垪銆?

TIMESTAMP[(M)]
涓涓椂闂存埑璁般傝寖鍥存槸'1970-01-01 00:00:00'鍒?037騫寸殑鏌愭椂銆侻ySQL浠YYYMMDDHHMMSS銆乊YMMDDHHMMSS銆乊YYYMMDD鎴朰YMMDD鏍煎紡鏉ユ樉紺篢IMESTAMP鍊鹼紝鍙栧喅浜庢槸鍚鏄?4錛堟垨鐪佺暐)銆?2銆?鎴?錛屼絾鏄厑璁鎬綘浣跨敤瀛楃涓叉垨鏁板瓧鎶婂艱祴緇橳IMESTAMP鍒椼備竴涓猅IMESTAMP鍒楀浜庤褰曚竴涓狪NSERT鎴朥PDATE鎿嶄綔鐨勬棩鏈熷拰鏃墮棿鏄湁鐢ㄧ殑錛屽洜涓哄鏋滀綘涓嶈嚜宸辯粰瀹冭祴鍊鹼紝瀹冭嚜鍔ㄥ湴琚緗負鏈榪戞搷浣滅殑鏃ユ湡鍜屾椂闂淬備綘浠ュ彲浠ラ氳繃璧嬬粰瀹冧竴涓狽ULL鍊艱緗畠涓哄綋鍓嶇殑鏃ユ湡鍜屾椂闂淬?
TIME
涓涓椂闂淬傝寖鍥存槸'-838:59:59'鍒?838:59:59'銆侻ySQL浠?HH:MM:SS'鏍煎紡鏉ユ樉紺篢IME鍊鹼紝浣嗘槸鍏佽浣犱嬌鐢ㄥ瓧絎︿覆鎴栨暟瀛楁妸鍊艱祴緇橳IME鍒椼?

YEAR[(2|4)]
涓涓?鎴?浣嶆暟瀛楁牸寮忕殑騫?緙虹渷鏄?浣?銆傚厑璁哥殑鍊兼槸1901鍒?155錛屽拰0000錛?浣嶅勾鏍煎紡錛夛紝濡傛灉浣犱嬌鐢?浣嶏紝1970-2069( 70-69)銆侻ySQL浠YYY鏍煎紡鏉ユ樉紺篩EAR鍊鹼紝浣嗘槸鍏佽浣犳妸浣跨敤瀛楃涓叉垨鏁板瓧鍊艱祴緇橸EAR鍒椼傦紙YEAR綾誨瀷鍦∕ySQL3.22涓槸鏂扮被鍨嬨傦級

CHAR(M) [BINARY]
涓涓畾闀垮瓧絎︿覆錛屽綋瀛樺偍鏃訛紝鎬繪槸鏄敤絀烘牸濉弧鍙寵竟鍒版寚瀹氱殑闀垮害銆侻鐨勮寖鍥存槸1 锝?255涓瓧絎︺傚綋鍊艱媯绱㈡椂錛岀┖鏍煎熬閮ㄨ鍒犻櫎銆侰HAR鍊兼牴鎹己鐪佸瓧絎﹂泦浠ュぇ灝忓啓涓嶅尯鍒嗙殑鏂瑰紡鎺掑簭鍜屾瘮杈冿紝闄ら潪緇欏嚭BINARY鍏抽敭璇嶃侼ATIONAL CHAR錛堢煭褰㈠紡NCHAR)鏄疉NSI SQL鐨勬柟寮忔潵瀹氫箟CHAR鍒楀簲璇ヤ嬌鐢ㄧ己鐪佸瓧絎﹂泦銆傝繖鏄疢ySQL鐨勭己鐪併侰HAR鏄疌HARACTER鐨勪竴涓緝鍐欍?

[NATIONAL] VARCHAR(M) [BINARY]
涓涓彉闀垮瓧絎︿覆銆傛敞鎰忥細褰撳艱瀛樺偍鏃訛紝灝鵑儴鐨勭┖鏍艱鍒犻櫎(榪欎笉鍚屼簬ANSI SQL瑙勮寖)銆侻鐨勮寖鍥存槸1 锝?255涓瓧絎︺?VARCHAR鍊兼牴鎹己鐪佸瓧絎﹂泦浠ュぇ灝忓啓涓嶅尯鍒嗙殑鏂瑰紡鎺掑簭鍜屾瘮杈冿紝闄ら潪緇欏嚭BINARY鍏抽敭璇嶅箋?VARCHAR鏄疌HARACTER VARYING涓涓緝鍐欍?

TINYBLOB

TINYTEXT
涓涓狟LOB鎴朤EXT鍒楋紝鏈澶ч暱搴︿負255(2^8-1)涓瓧絎︺?
BLOB


TEXT
涓涓狟LOB鎴朤EXT鍒楋紝鏈澶ч暱搴︿負65535(2^16-1)涓瓧絎︺?

MEDIUMBLOB

MEDIUMTEXT
涓涓狟LOB鎴朤EXT鍒楋紝鏈澶ч暱搴︿負16777215(2^24-1)涓瓧絎︺?
LONGBLOB

LONGTEXT
涓涓狟LOB鎴朤EXT鍒楋紝鏈澶ч暱搴︿負4294967295(2^32-1)涓瓧絎︺?

ENUM('value1','value2',...)
鏋氫婦銆備竴涓粎鏈変竴涓肩殑瀛楃涓插璞★紝榪欎釜鍊煎紡閫夎嚜涓庡煎垪琛?value1'銆?value2', ...,鎴朜ULL銆備竴涓狤NUM鏈澶氳兘鏈?5535涓嶅悓鐨勫箋?

SET('value1','value2',...)
涓涓泦鍚堛傝兘鏈夐浂涓垨澶氫釜鍊肩殑涓涓瓧絎︿覆瀵硅薄錛屽叾涓瘡涓涓繀欏諱粠鍊煎垪琛?value1', 'value2', ...閫夊嚭銆備竴涓猄ET鏈澶氳兘鏈?4涓垚鍛樸?/span>

涔旀爧 2007-07-19 14:42 鍙戣〃璇勮
]]>
mysql鏃犳硶榪滅▼榪炴帴鐨勯棶棰?/title><link>http://www.shnenglu.com/qiaodong/archive/2007/03/16/19956.html</link><dc:creator>涔旀爧</dc:creator><author>涔旀爧</author><pubDate>Fri, 16 Mar 2007 03:59:00 GMT</pubDate><guid>http://www.shnenglu.com/qiaodong/archive/2007/03/16/19956.html</guid><wfw:comment>http://www.shnenglu.com/qiaodong/comments/19956.html</wfw:comment><comments>http://www.shnenglu.com/qiaodong/archive/2007/03/16/19956.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/qiaodong/comments/commentRss/19956.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/qiaodong/services/trackbacks/19956.html</trackback:ping><description><![CDATA[鏁版嵁搴撳畨瑁呭悗鐨剅oot鐨勭敤鎴峰彧鏄鏈満鍏鋒湁鍏ㄩ儴鐨勬潈闄?浣嗘槸涓嶅叿澶囧鎴鋒満鐨勮繛鎺?br /><br />褰撴棤娉曡繙紼嬭繛鎺ョ殑鏃跺?寤鴻鏂板緩涓涓敤鎴?騫剁‘鍏鋒湁鍏ㄩ儴鏉冮檺,闂涓鑸彲浠ュ緱鍒拌В鍐?<br /><br /><br /><img src ="http://www.shnenglu.com/qiaodong/aggbug/19956.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/qiaodong/" target="_blank">涔旀爧</a> 2007-03-16 11:59 <a href="http://www.shnenglu.com/qiaodong/archive/2007/03/16/19956.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>VC 涓嬭繛鎺ysql鏁版嵁搴?http://www.shnenglu.com/qiaodong/archive/2007/03/07/19368.html涔旀爧涔旀爧Wed, 07 Mar 2007 08:29:00 GMThttp://www.shnenglu.com/qiaodong/archive/2007/03/07/19368.htmlhttp://www.shnenglu.com/qiaodong/comments/19368.htmlhttp://www.shnenglu.com/qiaodong/archive/2007/03/07/19368.html#Feedback0http://www.shnenglu.com/qiaodong/comments/commentRss/19368.htmlhttp://www.shnenglu.com/qiaodong/services/trackbacks/19368.html1錛氬湪瀹夎濂絤ysql 5.0
2:聽聽 瀹夎GUI綆$悊宸ュ叿錛屾垜鐢ㄧ殑鐨勬槸mysql -front
3:聽聽聽瀹夎濂介┍鍔紝榪欓噷鎴戜嬌鐢ㄧ殑鏄痬ysql-connector-odbc-3.51.12-win32錛岃繖涓彲浠ュ湪mysql瀹樼綉涓嬭澆鍒?br />4錛氳繛鎺ュ瓧絎︿覆錛?Driver={mySQL ODBC 3.51 Driver};Server=localhost;"
聽聽"Port=3306;Option=4;Database=storage;Uid=sa;Pwd=;"
聽聽聽聽聽聽聽聽聽IP鍦板潃涓猴細localhost聽;绔彛涓猴細3306錛涢夐」榛樿涓?4 ; 鏁版嵁搴撳悕錛歴torage; 鐢ㄦ埛鍚嶏細sa; 瀵嗙爜涓虹┖

鍙﹀鍦?net騫沖彴涓嬭繛鎺ysql銆鍙互鍙傜収涓嬮潰榪欑瘒鏂囩珷:

http://www.microsoft.com/china/community/Columns/Luyan/6.mspx

鎬諱綋鎰熻mysql 鏄腑灝忎紒涓氳璁℃暟鎹鐞嗗繀欏葷殑緋葷粺, 甯屾湜澶у閮借兘鍋氬ソ.










涔旀爧 2007-03-07 16:29 鍙戣〃璇勮
]]>
鑷畾涔夎嚜鍔ㄧ紪鍙鳳紙琛ュ彿涓庨潪琛ュ彿錛?/title><link>http://www.shnenglu.com/qiaodong/archive/2007/03/06/19293.html</link><dc:creator>涔旀爧</dc:creator><author>涔旀爧</author><pubDate>Tue, 06 Mar 2007 05:38:00 GMT</pubDate><guid>http://www.shnenglu.com/qiaodong/archive/2007/03/06/19293.html</guid><wfw:comment>http://www.shnenglu.com/qiaodong/comments/19293.html</wfw:comment><comments>http://www.shnenglu.com/qiaodong/archive/2007/03/06/19293.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/qiaodong/comments/commentRss/19293.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/qiaodong/services/trackbacks/19293.html</trackback:ping><description><![CDATA[ <span style="COLOR: #008080">--</span> <span style="COLOR: #008080">寤鴻〃璇彞</span> <span style="COLOR: #008080"> <br /> </span> <span style="COLOR: #0000ff">CREATE</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">TABLE</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">MyTable</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽(<br />聽聽聽聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">MyId</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">varchar</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">50</span> <span style="COLOR: #000000">)聽COLLATE聽Chinese_PRC_CI_AS聽</span> <span style="COLOR: #0000ff">NULL</span> <span style="COLOR: #000000">聽,<br />聽聽聽聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">MyName</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">varchar</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">50</span> <span style="COLOR: #000000">)聽COLLATE聽Chinese_PRC_CI_AS聽</span> <span style="COLOR: #0000ff">NULL</span> <span style="COLOR: #000000">聽<br />)聽</span> <span style="COLOR: #0000ff">ON</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">PRIMARY</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">GO</span> <span style="COLOR: #000000"> <br /> <br /> </span> <span style="COLOR: #008080">--</span> <span style="COLOR: #008080">寰楀埌鏂扮殑緙栧彿錛堜笉鑰冭檻琛ュ彿錛?/span> <span style="COLOR: #008080"> <br /> </span> <span style="COLOR: #0000ff">create</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000">聽f_NextID(</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">datetime</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">Returns</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">12</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">as</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">begin</span> <span style="COLOR: #000000">聽<br />聽聽聽聽</span> <span style="COLOR: #0000ff">Declare</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)<br />聽聽聽聽聽</span> <span style="COLOR: #0000ff">Declare</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@ret</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">12</span> <span style="COLOR: #000000">)<br />聽聽聽聽</span> <span style="COLOR: #0000ff">set</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff00ff">Substring</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Convert</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">,</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">9</span> <span style="COLOR: #000000">,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">2</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">Substring</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Convert</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">,</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">1</span> <span style="COLOR: #000000">,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">2</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">Substring</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Convert</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">,</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">4</span> <span style="COLOR: #000000">,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">2</span> <span style="COLOR: #000000">)<br />聽聽聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">in</span> <span style="COLOR: #000000">聽(</span> <span style="COLOR: #0000ff">SELECT</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">distinct</span> <span style="COLOR: #000000">聽myid</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff00ff">left</span> <span style="COLOR: #000000">(myid,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)聽</span> <span style="COLOR: #0000ff">FROM</span> <span style="COLOR: #000000">聽mytable聽</span> <span style="COLOR: #0000ff">WITH</span> <span style="COLOR: #000000">(XLOCK,PAGLOCK)))<br />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">Select</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@ret</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">right</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">1000001</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">Isnull</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Max</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Right</span> <span style="COLOR: #000000">(MyID,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">0</span> <span style="COLOR: #000000">),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)聽</span> <span style="COLOR: #0000ff">from</span> <span style="COLOR: #000000">聽Mytable聽</span> <span style="COLOR: #0000ff">with</span> <span style="COLOR: #000000">(xlock,paglock)聽</span> <span style="COLOR: #0000ff">where</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff00ff">left</span> <span style="COLOR: #000000">(MyID,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)<br />聽聽聽聽</span> <span style="COLOR: #0000ff">else</span> <span style="COLOR: #000000"> <br />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">Select</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@ret</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">000001</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">from</span> <span style="COLOR: #000000">聽Mytable聽</span> <span style="COLOR: #0000ff">with</span> <span style="COLOR: #000000">(xlock,paglock)<br />聽聽聽聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@ret</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">end</span> <span style="COLOR: #000000">聽<br /></span> <span style="COLOR: #0000ff">GO</span> <span style="COLOR: #000000"> <br /> <br /> <br /> </span> <span style="COLOR: #0000ff">drop</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">table</span> <span style="COLOR: #000000">聽MyTable<br /></span> <span style="COLOR: #008080">--</span> <span style="COLOR: #008080">寤鴻〃璇彞</span> <span style="COLOR: #008080"> <br /> </span> <span style="COLOR: #0000ff">CREATE</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">TABLE</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">MyTable</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽(<br />聽聽聽聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">MyId</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">varchar</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">50</span> <span style="COLOR: #000000">)聽COLLATE聽Chinese_PRC_CI_AS聽</span> <span style="COLOR: #0000ff">NULL</span> <span style="COLOR: #000000">聽,<br />聽聽聽聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">MyName</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">varchar</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000">聽(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">50</span> <span style="COLOR: #000000">)聽COLLATE聽Chinese_PRC_CI_AS聽</span> <span style="COLOR: #0000ff">NULL</span> <span style="COLOR: #000000">聽<br />)聽</span> <span style="COLOR: #0000ff">ON</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #ff0000">[</span> <span style="COLOR: #ff0000">PRIMARY</span> <span style="COLOR: #ff0000">]</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">GO</span> <span style="COLOR: #000000"> <br /> <br /> </span> <span style="COLOR: #008080">--</span> <span style="COLOR: #008080">寰楀埌鏂扮殑緙栧彿錛堣瀺鍚堜簡琛ュ彿澶勭悊錛?/span> <span style="COLOR: #008080"> <br /> </span> <span style="COLOR: #0000ff">create</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">FUNCTION</span> <span style="COLOR: #000000">聽f_NextNewID(</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">datetime</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">RETURNS</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">12</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">AS</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">BEGIN</span> <span style="COLOR: #000000"> <br />聽聽聽聽</span> <span style="COLOR: #0000ff">Declare</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)<br />聽聽聽聽聽</span> <span style="COLOR: #0000ff">Declare</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@ret</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">12</span> <span style="COLOR: #000000">)<br />聽聽聽聽</span> <span style="COLOR: #0000ff">set</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff00ff">Substring</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Convert</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">,</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">9</span> <span style="COLOR: #000000">,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">2</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">Substring</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Convert</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">,</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">1</span> <span style="COLOR: #000000">,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">2</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">Substring</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #ff00ff">Convert</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">,</span> <span style="COLOR: #008000">@myDate</span> <span style="COLOR: #000000">),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">4</span> <span style="COLOR: #000000">,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">2</span> <span style="COLOR: #000000">)<br />聽聽聽聽</span> <span style="COLOR: #0000ff">DECLARE</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@r</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">char</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">12</span> <span style="COLOR: #000000">)<br />聽聽聽聽<br />聽聽聽聽</span> <span style="COLOR: #0000ff">SELECT</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008000">@r</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">RIGHT</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">1000001</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">MIN</span> <span style="COLOR: #000000">(MyId),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)<br />聽聽聽聽</span> <span style="COLOR: #0000ff">FROM</span> <span style="COLOR: #000000">(<br />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">SELECT</span> <span style="COLOR: #000000">聽MyId</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff00ff">RIGHT</span> <span style="COLOR: #000000">(MyId,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">)聽</span> <span style="COLOR: #0000ff">FROM</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">WITH</span> <span style="COLOR: #000000">(XLOCK,PAGLOCK)<br />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">UNION</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">ALL</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">SELECT</span> <span style="COLOR: #000000">聽</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">0</span> <span style="COLOR: #000000"> <br />聽聽聽聽)a聽<br />聽聽</span> <span style="COLOR: #0000ff">WHERE</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">NOT</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">EXISTS</span> <span style="COLOR: #000000">(<br />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">SELECT</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">*</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">FROM</span> <span style="COLOR: #000000">聽MyTable聽聽</span> <span style="COLOR: #0000ff">WITH</span> <span style="COLOR: #000000">(XLOCK,PAGLOCK)<br />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">WHERE</span> <span style="COLOR: #000000">聽MyId</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #008000">@temp</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #ff00ff">RIGHT</span> <span style="COLOR: #000000">(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">1000001</span> <span style="COLOR: #808080">+</span> <span style="COLOR: #000000">a.myID,</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">6</span> <span style="COLOR: #000000">))<br />聽聽聽聽</span> <span style="COLOR: #0000ff">RETURN</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #008000">@r</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">END</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">GO</span> <span style="COLOR: #000000"> <br /> <br /> <br /> </span> <span style="COLOR: #008080">--</span> <span style="COLOR: #008080">嫻嬭瘯璇彞(鍙敼鍙樻椂闂存祴璇曚竴涓嬶級</span> <span style="COLOR: #008080"> <br /> </span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">one</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">two</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">three</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">four</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">five</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">six</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">Select</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">*</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">from</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">order</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">by</span> <span style="COLOR: #000000">聽MyId<br /></span> <span style="COLOR: #0000ff">GO</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">delete</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">where</span> <span style="COLOR: #000000">聽myId</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">060629000002</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">delete</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">where</span> <span style="COLOR: #000000">聽myId</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">060629000005</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">Select</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">*</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">from</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">order</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">by</span> <span style="COLOR: #000000">聽MyId<br /></span> <span style="COLOR: #0000ff">Go</span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">nexttwo</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">insert</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">values</span> <span style="COLOR: #000000">聽(dbo.f_NextNewID(</span> <span style="COLOR: #ff00ff">GetDate</span> <span style="COLOR: #000000">()),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">nextfive</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #0000ff">Select</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #808080">*</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">from</span> <span style="COLOR: #000000">聽MyTable聽</span> <span style="COLOR: #0000ff">order</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">by</span> <span style="COLOR: #000000">聽MyId<br /></span> <span style="COLOR: #0000ff">GO</span> <span style="COLOR: #000000"> <br /> <br /> <br /> <br />摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟摟<br /><br />SQL涓嬫祴璇曟垚鍔?br /><br /><br /><br /><br /><br /><br /><br /></span> <img src ="http://www.shnenglu.com/qiaodong/aggbug/19293.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/qiaodong/" target="_blank">涔旀爧</a> 2007-03-06 13:38 <a href="http://www.shnenglu.com/qiaodong/archive/2007/03/06/19293.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏁版嵁搴撴枃绔犺鎰?/title><link>http://www.shnenglu.com/qiaodong/archive/2006/12/28/16949.html</link><dc:creator>涔旀爧</dc:creator><author>涔旀爧</author><pubDate>Thu, 28 Dec 2006 09:17:00 GMT</pubDate><guid>http://www.shnenglu.com/qiaodong/archive/2006/12/28/16949.html</guid><wfw:comment>http://www.shnenglu.com/qiaodong/comments/16949.html</wfw:comment><comments>http://www.shnenglu.com/qiaodong/archive/2006/12/28/16949.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/qiaodong/comments/commentRss/16949.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/qiaodong/services/trackbacks/16949.html</trackback:ping><description><![CDATA[鐪嬩竴涓粊鍏勭殑鍗氬,涓嶄絾浜洪潪甯告劅鎬?鎶鏈笂鐨勭粏鑺備篃寰堢粏鑵?鎴戝枩嬈?鎵浠ユ敹钘忎簡浠栫殑鍗?<br /><br />浠ヤ笅鏄?a title="aladdin_leon鐨勫崥瀹細Aladdin鐨勬濊? >Aladdin</a>鐨勬枃绔?<br /><br /><font face="Arial"><u><font color="#ff0000">聽----- Atomic(鍘熷瓙鎬?錛?/font></u>鍙暣涓暟鎹簱浜嬪姟鏄笉鍙垎鍓茬殑宸ヤ綔鍗曞厓銆傚彧鏈変簨鍔′腑鎵鏈夌殑鎿嶄綔鎵ц鎴愬姛錛屾墠綆楁暣涓簨鍔℃垚鍔燂紱浜嬪姟涓換浣曚竴涓猄QL璇彞鎵ц澶辮觸錛岄偅涔堝凡緇忔墽琛屾垚鍔熺殑SQL璇彞涔熷繀欏繪挙閿錛屾暟鎹簱鐘舵佸簲璇ラ鍥炲埌鎵ц浜嬪姟鍓嶇殑鐘舵併傞氳繃涓婇潰鐨勪緥瀛愭垜浠凡緇忕湅寰楀緢娓呮浜嗐?br />聽<u><font color="#ff0000">聽 ----- Consistency(涓鑷存?錛?/font></u>鎸囨暟鎹簱浜嬪姟涓嶈兘鐮村潖鍏崇郴鏁版嵁鐨勫畬鏁存т互鍙婁笟鍔¢昏緫涓婄殑涓鑷存с備緥濡傦紝涓嶇涓婇潰鐨勪緥瀛愰噷闈Q甯佽漿璐︾殑浜嬪姟鎴愬姛榪樻槸澶辮觸錛岄兘搴旇淇濊瘉浜嬪姟緇撴潫鍚巕q_account琛ㄤ腑bill鍜宼om鐨凲Q甯佹婚涓?000鐐廣?br /><u><font color="#ff0000">聽----- Isolation(闅旂鎬?錛?/font></u>鎸囩殑鏄湪騫跺彂鐨勭幆澧冧箣涓紝褰撲笉鍚岀殑浜嬪姟鍚屾椂鎿嶄綔鐩稿悓鐨勬暟鎹椂錛屾瘡涓簨鍔¢兘鏈夊悇鑷殑瀹屾暣鏁版嵁絀洪棿錛岃繖閲屾秹鍙婄殑浜嬫儏灝卞浜嗭紝鎴戞兂鍦ㄥ悗闈㈠崟鐙葷粨鎴愪竴綃囨枃绔犮?br /><u><font color="#ff0000">聽 ----- Durability(鎸佷箙鎬?錛?/font></u>鎸囩殑鏄彧鏈変簨鍔℃垚鍔熺粨鏉燂紝瀹冨鏁版嵁搴撴墍鍋氱殑鏇存柊灝卞繀欏繪案涔呬繚瀛樹笅鏉ャ傚嵆浣垮彂鐢熺郴緇熷穿婧冿紝閲嶆柊鍚姩鏁版嵁搴撳悗錛屾暟鎹簱榪樿兘鎭㈠鍒頒簨鍔℃垚鍔熺粨鏉熸椂鐨勭姸鎬併?/font><br /><br /><br />杈懼埌榪欐牱鐨勭粨鏋滈渶瑕佷互涓嬬殑鏂規(guī)硶:<br /><br /><font face="Arial" color="#3366ff">聽----- 聽BEGIN 浜嬪姟鐨勫紑濮嬭竟鐣?br />聽-----聽 COMMIT 浜嬪姟鐨勬甯哥粨鏉熻竟鐣岋紝鎻愪氦浜嬪姟錛屾案涔呬繚瀛樿浜嬪姟鏇存柊鍚庣殑鏁版嵁搴撶姸鎬併?br />聽-----聽 ROLLBACK 浜嬪姟鐨勫紓甯哥粨鏉熻竟鐣岋紝鎾ら攢浜嬪姟錛屼嬌鏁版嵁閫鍥炲埌鎵ц浜嬪姟鍓嶇殑鍒濆鐘舵併?br /></font><br />鎴戠幇鍦ㄧ粰鑷繁涓涓換鍔?鏄庡ぉ鏃╀笂緇欒嚜宸變竴涓瓟妗?闂灝辨槸:嫻佺▼涓湪浠涔堟椂鍊欐槸<font face="Arial" color="#3366ff">BEGIN ,COMMIT ,ROLLBACK <font color="#000000">鐨勭姸鎬?</font></font><br /><img src ="http://www.shnenglu.com/qiaodong/aggbug/16949.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/qiaodong/" target="_blank">涔旀爧</a> 2006-12-28 17:17 <a href="http://www.shnenglu.com/qiaodong/archive/2006/12/28/16949.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.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.lslscy.cn" target="_blank">一本大道久久香蕉成人网</a>| <a href="http://www.lyrisme.cn" target="_blank">日韩亚洲国产综合久久久</a>| <a href="http://www.fcks.net.cn" target="_blank">国内精品九九久久精品</a>| <a href="http://www.gnjb.net.cn" target="_blank">久久久久AV综合网成人</a>| <a href="http://www.buy162.cn" target="_blank">欧美日韩精品久久久久</a>| <a href="http://www.pu89.cn" target="_blank">久久人妻AV中文字幕</a>| <a href="http://www.ezhekou.cn" target="_blank">久久久黄片</a>| <a href="http://www.enkids.cn" target="_blank">日本精品久久久久中文字幕8</a>| <a href="http://www.hzyzhongyuan.cn" target="_blank">欧美一区二区久久精品</a>| <a href="http://www.muxi365.cn" target="_blank">精品多毛少妇人妻AV免费久久 </a>| <a href="http://www.kybdt.cn" target="_blank">久久只这里是精品66</a>| <a href="http://www.hlccbxw.cn" target="_blank">精品国产乱码久久久久久人妻</a>| <a href="http://www.daocheyingxiang.cn" target="_blank">无码精品久久久天天影视</a>| <a href="http://www.nbblack.cn" target="_blank">免费一级欧美大片久久网</a>| <a href="http://www.jxjiahegs.cn" target="_blank">久久综合综合久久97色</a>| <a href="http://www.2pt.com.cn" target="_blank">2020久久精品亚洲热综合一本</a>| <a href="http://www.hotsw.com.cn" target="_blank">国产精品伊人久久伊人电影</a>| <a href="http://www.npz571.cn" target="_blank">日本三级久久网</a>| <a href="http://www.99yingyuan.cn" target="_blank">人妻无码精品久久亚瑟影视 </a>| <a href="http://www.uucity.com.cn" target="_blank">久久精品国产一区二区电影</a>| <a href="http://www.ddmes.cn" target="_blank">久久亚洲私人国产精品</a>| <a href="http://www.pk9777.cn" target="_blank">亚洲精品乱码久久久久久久久久久久 </a>| <a href="http://www.yb121.com.cn" target="_blank">久久亚洲私人国产精品</a>| <a href="http://www.yookou.cn" target="_blank">伊人 久久 精品</a>| <a href="http://www.shouyoujie.cn" target="_blank">久久久久18</a>| <a href="http://www.hx0451.cn" target="_blank">日韩精品久久久久久</a>| <a href="http://www.zhongshengwsl.cn" target="_blank">久久亚洲精品人成综合网 </a>| <a href="http://www.jinhangroup.cn" target="_blank">囯产精品久久久久久久久蜜桃</a>| <a href="http://www.wshoponlinet.cn" target="_blank">99久久精品免费看国产</a>| <a href="http://www.lbyk.com.cn" target="_blank">国产成人久久久精品二区三区</a>| <a href="http://www.ruan8.cn" target="_blank">九九精品99久久久香蕉</a>| <a href="http://www.n24657.cn" target="_blank">久久91精品国产91久久户</a>| <a href="http://www.amqinhang.cn" target="_blank">99久久精品免费看国产免费</a>| <a href="http://www.05958.cn" target="_blank">久久久久亚洲AV无码永不</a>| <a href="http://www.exye.cn" target="_blank">三上悠亚久久精品</a>| <a href="http://www.liushishipin.cn" target="_blank">热re99久久精品国99热</a>| <a href="http://www.wufayulecheng.cn" target="_blank">亚洲精品高清国产一线久久</a>| <a href="http://www.jddy.net.cn" target="_blank">香蕉久久久久久狠狠色</a>| <a href="http://www.gdkm2.cn" target="_blank">无码日韩人妻精品久久蜜桃</a>| <a href="http://www.ebianlian.cn" target="_blank">无码人妻精品一区二区三区久久 </a>| <a href="http://www.ogus.cn" 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>