1. A machine-implemented method, comprising: receiving, at a database server, a database query that contains a reference to a column, but does not contain any reference to a functional index on the column; and the database server adding to the database query a reference to the functional index on the column.