Using math functions in Sql with MS Access
问题 I designed a query in SQL View using MS Access: select floor(num1) from t1; When I run it, I get "undefined function floor". I get similar errors for Ceil , Mod , Power , Sign , Sqrt , Trunc , and initcap functions. Does the Access database engine's SQL syntax have equivalent functions? 回答1: Replace Floor() with Int(). I learned this by searching in the Access help files, in this case, hitting F1 while in the query designer, and searching for "functions." That took me to a help topic