Which databases can create function-based indexes?
问题 I know, that this type of indexes exist in Oracle. Old versions on MySQL can not create function-based indexes (thanks, google). And new versions? How about PostgreSQL, SQL Server etc? 回答1: I don't know inner details of oracle's, but postgres can create index on expression, which can be a function, from : An index field can be an expression computed from the values of one or more columns of the table row. This feature can be used to obtain fast access to data based on some transformation of