• Pratibha_Pillai (5/28/2009)


    Hi Jack,

    Thanks for the reply.I need few more guidelines from you.

    Generally I got the answer as to how can I track the schema changes.My application is used for synchronization of database (client-sql ce and server-sql server 2005). As my application is of type synchronization the client can perform changes on the client db...now once its done ...there can be places where we can find conflicts when we try to execute the downloaded scripts(like if I am imposing primary key constraint I can get an error in the client db incase if the client has entered any duplicate rows).

    1) how can I prevent such issues?Any strategy?

    I believe you can use merge replication between SQL Server 2005 and SQL Mobile. You just need to define who wins.

    2)Also in my client db I have 2 additional columns other than the columns in the server(added after the first download of tables from server).And now if i try to insert any columns and then try to insert data there will be conflict becuase there is change in the ordinal position of the new column in the server and the new column in the client.

    Any idea as to how can I resolve this issue ?

    If define your process using named columns then ordinal position should not matter.