- ©«¤l
- 26
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- office2000
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-11-1
- ³Ì«áµn¿ý
- 2018-6-13
|
§ó§ï¸ê®Æ®wªº©w§Ç¦WºÙ
¤§«e¦b¬d¸ß¤¤¤å¸ê®Æ®É,³£¬Oª½±µ¨Ï¥Î¤U¦Cªº»yªk
select * from tablename where fieldname like '%¤¤¤å%'
¦ý¬O¤µ¤Ñ¦b¬d¸ê®Æ®É«o¬d¤£¥X¥ô¦óªF¦è,¦Ó¥B¸ê®ÆÄæ¦ì¤¤½T¹ê¦³"¤¤¤å"ªº¦r¼Ë,
¬d¤F¤@¤U,¤~µo²{¥un¦b¬d¸ßªº¸ê®Æ«e¥[ÓN´N¥i¥H¤F,»yªk¦p¤U :
select * from tablename where fieldname like N'%¤¤¤å%'
¦Ó³o¥Dn¬O¦]¬°¸ê®Æ®wªº©w§Ç¦WºÙ©Ò¤Þ°_,
³q±`§Ú̦b«Ø¥ß¸ê®Æ®w®É,©w§Ç¦WºÙ³£¬O¨Ï¥Î"¦øªA¾¹¹w³]È",
©Ò¥H¤]«Ü¤Ö¥hª`·N¥¦.
ÁöµM»¡¥un¬d¸ß»yªk§ï¤@¤U´N¥i¥H¤F,
¦ý¬O¬°¤F¥H«áºûÅ@¤Wªº¤è«K,
©Ò¥H¥´ºâ±N¸ê®Æ®wªº©w§Ç¦WºÙ§ï¦¨"Chinese_Taiwan_Stroke_CI_AS",
¥i¬O,±qSQL Server Enterprise Manager¨Ã¤£¯àª½±µ¥h°µ×§ï,
©Ò¥Hn¤U»yªk¥h²§°Ê,
¦Ó»yªk¦p¤U :
ALTER DATABASE DatabaseName SET SINGLE_USER WITH ROLLBACK IMMEDIATE
ALTER DATABASE DatabaseName COLLATE Chinese_Taiwan_Stroke_CI_AS
ALTER DATABASE DatabaseName SET MULTI_USER WITH ROLLBACK IMMEDIATE
¦]¬°¦b§ï©w§Ç¦WºÙ®É,¥²¶·¥ýÂê©w¸ê®Æ®w,
©Ò¥H²Ä¤@¦æn¥ý±N¸ê®Æ®w³]©w¬°SINGLE_USER,¨C¦¸¥u¯à¤@ӨϥΪ̦s¨ú¸ê®Æ®w,
µM«á¦Aקï©w§Ç¦WºÙ,
ק粒«á¦A±N¸ê®Æ®w§ï¦^ MULTI_USER §Y¥i,
¥t¥~n°õ¦æ³o¨Ç«ü¥Oȶ·¥ý±N©Ò¦bªº¸ê®Æ®w¤Á´«¨ìmaster¤U.
¸ê®Æ¨Ó·½¡Ghttp://cp0501.blogspot.com/2007/11/sql-server.html |
|