INF: COLLATE for Computed Columns is Deterministic for UNICODE Starting with SQL Server Service Pack 2 (308870)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q308870 SUMMARY
Some applications require collations for specific columns that do not match the collation of the table. However, if all of the following circumstances are true, you cannot build an index on such a column:
- The table contains a column (Column1), which you defined to hold strings.
- The table also has a computed column (Column2) based on Column1 using the COLLATE clause.
- You issue a CREATE INDEX statement on Column2.
This error message occurs:
Server: Msg 1933, Level 16, State 1, Line 1
Cannot create index because the key column 'Column2' is non-deterministic or imprecise.
For additional information about the latest service pack for Microsoft SQL Server 2000, click the article number below
to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbinfo KB308870 |
---|
|