如何在pb中转变数据库中的数据类型
在pb中如何将数据库中的char类型转变成int型
例如 在sql语言中可以用cast( as )转变
检索一年级学生
select count(xh)//xh 学号
from student
where 2003-cast(rxnd as int)=1 //rxnd 入校年度 char类型
在pb中没有cast()函数怎么办?指教
在pb中我试图这样写
select count(xh)//xh 学号
from student
where 2003-int(rxnd)=1
但是结果不正确。