来源:蜘蛛抓取(WebSpider)
时间:2015-04-22 02:22
标签:
standard codes
表中的annelcodes数据是008|009|005 select rulegroup from cmminrules where annelcodes='008'_百度知道
表中的annelcodes数据是008|009|005 select rulegroup from cmminrules where annelcodes='008'
我没有取到想对应的rulegroup 的为什么?
是这样,'表“cmminrules”中的列是“annelcodes”. 列N008
××××009
××××005
××××----------------------------------------如果是第二种情况;应该是可以查出来记录的..;008'....,则用 where
annelcodes='..;. 列N008|009|005
××××还是这样;--即把空格去掉再去匹配:annelcodes
,或者试试把条件改为;)=' ':replace(annelcodes,''008',该列的数据:annelcodes
不是这样的annelcodes是列
008|009|005
005|006|256类似这样的!
那你用where annelcodes='008'肯定是查不到记录了,如果只是想查出包含有008的行,试试:where annelcodes like '%008%'
其他类似问题
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁