Question

I have a MS SQL database that is getting replicated to mobile SQL CE databases.

My question is as follows:

Are the indexes getting propagated to the sqlce database tables as well?

Was it helpful?

Solution

Actually the answer is "it depends". Some are, and some are not. It also depends on how you provision the mobile database. The different sync properties for provisioning do very different things to the local database.

  1. Peer to Peer never calls FillSchema and does not know the indexes.
  2. Server to Client does call FillSchema (and GetSchema()) so it knows the indexes.

So if you are doing peer to peer sync the locally provisioned databases by default do not include all indexes.

OTHER TIPS

If I'm not mistaken, the answer is no. Mirror: yes, replication: no.

I've learnt something new.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top