Does SQL CE support clustered indexes?
MSDN says about the NONCLUSTERED argument:
This is the only supported index type
Judging by CREATE INDEX syntax for SQL Server Compact Edition, the only supported index type is NONCLUSTERED.
Most file based databases do not support clustered indexes. It would require a rewrite of the entire index if you inserted a new row out of order. Since this is expensive (and a blocking operation) most file databases do not allow it.
BUT, you do normally gain a notion of natural order. The order you insert in is the order they are on disk. This is something you do not have with full SQL Server which is always reclaiming free space from previous pages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With