我怎么实现定位查找呢???????? select * from table where substr()='01' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from 表 where substring(列,3,2)='01' 我可不可以这样用,select * from table where 列名.substr(3,4)='01' select * from table where 字段 like '01' not exists select * from table where substr()='01' select * from tabname where substring( col, --被查找的字段 (len(col)/2-len('01')/2) , --被查找的起始位置 len('01') --被查找的长度 ) = '01' 决定正确,试过了SELECT * FROM table WHERE substring(字段,3,2) = '01' 新手怎样学好sql? 问一个SQL 2000语句 分类汇总SQL语句求解~ 如何将XML批量导入MSSQL SQLSERVER2000 如何在注册表里卸载? 当二个客户端几乎同时执行一个服务器上的同一个存储过程,请问是同时各自执行各自的,还是第一个执行完了再执行第二个 這個存儲哪里有問題呀。 怎么设置默认值? 各位大侠帮忙啊,关于查询优化的问题!!!!!!! SQL server 求一个sql,看似简单哟 关于多表输出统计的问题,请各位专业人士不吝赐教,谢谢指导 数据库中删除列
select * from table where 列名.substr(3,4)='01'
*
from
tabname
where
substring(
col, --被查找的字段
(len(col)/2-len('01')/2) , --被查找的起始位置
len('01') --被查找的长度
) = '01'
SELECT *
FROM table
WHERE substring(字段,3,2) = '01'