1. select top 20 id,title,PageUrl from Infor where title like 'ÒÔµÂÅäÌì,Ã÷µÂÉ÷%' order by id desc CPU ʱ¼ä = 0 ºÁÃ룬ռÓÃʱ¼ä = 39 ºÁÃë¡£ 2. select top 20 id,title,PageUrl from Infor where title like '%ÒÔµÂÅäÌì,Ã÷µÂÉ÷' order by id desc CPU ʱ¼ä = 2125 ºÁÃ룬ռÓÃʱ¼ä = 2292 ºÁÃë¡£
ÔõôֻÓеÚÒ»ÖÖÓõ½Ë÷Òý£¬ÄѲ»³Éslqserver·¢ÉÕÁ˲»ÊÇ£¬ÕâÊÇʵÇé µÚÒ»ÖÖ²ÅÄÜ Óõ½Ë÷Òý,¿´²éѯ¼Æ»® Ôõô¿ÉÒÔÕâÑù£¿ÎҼǵÃlike ʱ%ǰºó¶¼ÊÇ¿ÉÒÔÓõ½Ë÷ÒýµÄ iûÓÐ×¢Òâ¹ýÕâ¸öÎÊÌ⣬ѧϰÁË 1. select top 20 id,title,PageUrl from Infor where title like 'ÒÔµÂÅäÌì,Ã÷µÂÉ÷%' order by id desc CPU ʱ¼ä = 0 ºÁÃ룬ռÓÃʱ¼ä = 39 ºÁÃë¡£
Õâ¸öÓõ½Ë÷Òý. 2. select top 20 id,title,PageUrl from Infor where title like '%ÒÔµÂÅäÌì,Ã÷µÂÉ÷' order by id desc CPU ʱ¼ä = 2125 ºÁÃ룬ռÓÃʱ¼ä = 2292 ºÁÃë¡£