How to use function based index in SQL Server2005?
How to use function based index in SQL Server2005?
am 03.07.2007 08:05:46 von Steven
Don Burleson said in SQL Server2005, several new features are
introduced include function based index.( Specialised index on a
computed column (ala Function based Index))
But when I refered MSDN, I could't find this new function.
CREATE [ UNIQUE ] [ CLUSTERED | NONCLUSTERED ] INDEX index_name
ON
Re: How to use function based index in SQL Server2005?
am 03.07.2007 14:25:55 von Plamen Ratchev
You have to create an index on the computed column, not on the expression
defining the computed column. If the computed column expression is imprecise
you can mark the computed column as PERSISTED (that will force storing the
computed value in the table).
See more details here:
http://msdn2.microsoft.com/en-us/library/ms189292.aspx