I'm trying to understand if function based indexes similar to the one's in Oracle or PostgreSQL exist in SQL Server
In PostgreSQL, I can create a function based index using by using the following syntax:
CREATE INDEX sample ON "TestDB" (("expression1" || ' ' || "expression2"));
I found a article where I found something called "index on computed columns" in SQL Server. Is this a function based index just like in Oracle/PostgreSQL? Can anybody provide me a sample query to create/view such an index?