📜  计算列的 vba ado ace sql 别名被忽略 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:56.939000             🧑  作者: Mango

代码示例1
'For a field alias to work and appear as a column name in the recordset
'the ENTIRE calculation MAY NEED TO BE held within PARENTHESES:

SQL = "SELECT ((age + fare) / 2) as [Nonsense] from Titanic"