sql语句转换 从sqlsever到access中也能使用?解决方法

sql语句转换 从sqlsever到access中也能使用?让其在access中能用:selectffrom@awheresubstring(f,(charinde

sql语句转换 从sqlsever到access中也能使用?
让其在access中能用:
select   f
from   @a  
where   substring(f,(charindex( '[ ',f)+1),(charindex( '] ',f)-1-(charindex( '[ ',f))))= '123 '

[解决办法]
select f
from [Table]
where mid(f,instr(f, '[ ')+1,instr(f, '] ')-1-instr(f, '[ '))= '123 '
[解决办法]
charindex改成instr就行吧.就是函数不同,道理一样呀