mssql 2005Êý¾Ý¿â Ä£ºý²éѯ ¼±¡£¡£
mssql 2005 ÊÇÓ¢ÓïÕý°æµÄ¡£
²»ÖªµÀΪʲôÀýÈç
select content_cn,content_ru from table where content_cn like '%ÖÐÎÄ%'
select content_cn,content_ru from table where content_ru like '%¶íÓï%'
select content_cn,content_ru from table where content_cn like '%Ó¢Óï×Ö·û%'
ÒÔÉÏÈýÌõÓï¾ä ÎÒÔÚ±¾»ú Ãâ·Ñ°æµÄ2005 É϶¼¿ÉÓà ÎÒ¿ÉÊÇÔÚ ÎÒÂòµÄÕý°æ2005Êý¾Ý Ö´ÐÐÕßÈýÌõÓï¾ä
Ö»ÓÐ Ó¢Óï×Ö·û¿ÉÒÔËÑË÷µ½½á¹û ÖÐÎÄ »òÆäËû×Ö·û¶¼²»¿ÉÒÔ ²»ÖªµÀΪʲôÐèÒªÉèÖÃʲô£¿
ÄãÓ¢ÎÄ°æµÄÅÅÐò¹æÔòÊÇʲô£¿
ÔÚSQLÀï¼ÓÉÏ¡®N¡¯Ç¿ÖÆת»»±àÂë
È磺
SQL code:
insert into table(aa,bb) values(N'ÖÐÎÄ1',N'ÖÐÎÄ2')£¬
select content_cn,content_ru from table where content_cn like N'%ÖÐÎÄ%'
¼ÓÉÏSQL code:
N'
ÓÃÀ´±íʾǿÖÆת»»ÎªNational Unicode¡«
²é¿¼£ºhttp://kitesky.itpub.net/post/909/16260
Ïà¹ØÎÊ´ð£º
ÓÐ沒ÓÐ辦·¨實現£¬從MSSQL2000Æó業¹ÜÀíÆ÷註冊MSSQL2008數據庫£¿
Á¬²»ÉÏ°É
òËÆ沒Ï£Íû¡£¡£¡£
Ó¦¸ÃÊDz»ÐÐµÄ ¿çÌ«¶àÁË
ÄÇ2000µÄ ......
×ֶεÄĬÈÏÖµÔ¼ÊøÉúËùµÄÔ¼ÊøÃû³Æϵͳ³£³£ÔÚºóÃæÌíÉÏÒ»¸öËæ»úµÄ×Ö·û´®£¬
Èç
DF__Admin__locked__014935CB
ÕâÑùÔì³ÉÒÔºóÔÚÐ޸ĸÄÔ¼ÊøµÄʱºòºÜÂé·³£¬ÔõôÉèÖò»ÈÃÊý¾Ý¿â×Ô¶¯Éú³ÉÕâÑùµÄËæ»úÃû³ÆµÄÔ¼ÊøÃû³Æ
¶øÏòÕâÑù ......
ÎÒÔÚMSSQL¹ÜÀíÆ÷Àï°Ñн¨×Ö¶Îstr
ÔÚĬÈÏÖµ»ò°ó¶¨ÄÇÀïÎÒÌîдÁË0
È»ºóÎÒ·¢ÏÖ¡£Èç¹ûÎÒÔÚÔö¼Ó¼Ç¼ʱ¡£Õâ¸öSTR²¢²»ÊÇĬÈϵÄ0¶øÊÇNULLÔõô»ØÊ£¿£¨ÔÚÔö¼Ó×Ö¶Îʱ¡£ÎÒûÓмÈërs("str")µÄÖµ¡£Ô±¾Ò ......
ÎÒ¼ÒÓõÄÊÇXP
ÔÀ´ÊǸãasp access¿ª·¢
ÏÖÔÚÓÐÒ»¸öÏîÄ¿Òªmssql
xpÎÒÓÖ²»ÄÜ×°sqlÆóÒµ°æ¡£ÇëÎÊÓÐûÓÐʲôÂÌÉ«»òÕߺõÄÈí¼þ½éÉÜ£¬ÄÜ´ò¿ªmssqlµÄmdf
ÒýÓÃ
ÎÒ¼ÒÓõÄÊÇXP
ÔÀ´ÊǸãasp access¿ª·¢
ÏÖÔÚ ......
create db ÊÇн¨Êý¾Ý¿â
create table ÊÇн¨±í
ÄÇн¨×Ö¶ÎÄØ£¿ лл¡£
×Ô¼ºµ½sqlserverÎĵµÖвéÕÒcreateµÄÓ﷨ʾÀý°É
SQL code:
ÏÂÀýÏÔʾ pubs Êý¾Ý¿âÖÐËù´´½¨µÄÈý¸ö±í£¨jobs¡¢employee ºÍ publisher ......