Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个非主键列的索引,但该列中可能有空值。我在一个普通的唯一索引上发现,它(正确地)只允许一个空值。
那可能吗?
这个的语法是什么?
CREATE INDEX idxname ON table(col1);
见MSDN