您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

C#检索access数据库时如何将文本字段转换成数字

2024/3/11 12:27:33发布11次查看
可以参考以下例子,table1.a为字符串,table2.b为数值 select a from table1 where val(a) in (select b from table2) or select a from table1 where a in (select str(b) from table2) or select a from table1 where a in (select cstr(b) from table2) o
可以参考以下例子,table1.a为字符串,table2.b为数值
select a from table1 where val(a) in (select b from table2)
or
select a from table1 where a in (select str(b) from table2)
or
select a from table1 where a in (select cstr(b) from table2)
or
select a from table1 where a in (select format(b,'#####') from table2)
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product