vba ado ace sql alias ignored for calculated column code example
Example: vba ado ace sql alias ignored for calculated column
'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"