目录

MS Access Asc() 函数

示例

返回 "CustomerName" 中第一个字符的 ASCII 值:

SELECT Asc(CustomerName) AS NumCodeOfFirstChar
FROM Customers;
亲自试一试 »

定义和用法

Asc() 函数返回特定字符的 ASCII 值。

语法

Asc( character)

参数值

Parameter Description
character Required. The character to return the ASCII value for. If more than one character is entered, it will only return the value for the first character

技术细节

工作于: 从 Access 2000