Cast/Convert Function in Access

前端之家收集整理的这篇文章主要介绍了Cast/Convert Function in Access前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
Cint -- cast to ineger

Clng -- long

Cdbl -- double

Csng - single

Cstr - string

Cbool - boolean

==================

val() << cast to number,but it may be a vb function.. therefore,you can use vb function such as str().. to cast variable from one datatype to another..


example:

SELECT clng(fieldName) FROM tableName

猜你在找的VB相关文章