如何遍历内容中有没有<img> 字段:id,content根据id来判断content中有没有<img,如何实现? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from tablename where content like '%<img%' 没说清楚我的意思,如果我已经得出了所有内容content的话,怎么对其进行判断? 就向content1,content2,....contentN;如何判断呢? if(content1.indexof("<img>")>=0) Response.Write("有");else Response.Write("无"); select id,content from my_info where patindex('%IMG src=%',content)>0 差个左括号:select id,content from my_info where patindex('%<IMG src=%',content)>0估计是ASP里的,给你加上个 src,更准确些. 分享:登录服务器失败的原因分析! 问一个客户端连接数的问题 查询分析器里,全选光标当前行的快捷方式是什么? 在A,B,C字段上建了组合索引,查询时只用了字段A,或字段B,或字段A,B,这样会不会用到索引,能不能解释一下 Sql server Transction Log Shipping? 用SQL如何查询大于两个工作表的平均数的记录? 一个关于索引和存储过程的题目 存储过程返回能否同时返回记录集和一个输出参数,大侠赐教 关于SQL Server 2000中设置Set Default? vfp 求一复杂平均数问题 做一个分列的统计。求高手解答。
Response.Write("有");
else
Response.Write("无");
select id,content from my_info where patindex('%IMG src=%',content)>0
select id,content from my_info where patindex('%<IMG src=%',content)>0
估计是ASP里的,给你加上个 src,更准确些.