SQL script with UPDATE statement
vivekt
Posts: 3
Hi
Is it possible to generate SQL script(from the synchronization wizard) with UPDATE statements instead of the DELETE & INSERT combination?
The problem, I face is that my database has too many foreign keys in tables not being sychronized and hence they must be manually dropped and then added which, apart from inconvenience, may lead to inconsistency. Thanks
Is it possible to generate SQL script(from the synchronization wizard) with UPDATE statements instead of the DELETE & INSERT combination?
The problem, I face is that my database has too many foreign keys in tables not being sychronized and hence they must be manually dropped and then added which, apart from inconvenience, may lead to inconsistency. Thanks
Comments
I'm afraid I'm not sure what you mean. If the data in a row is different (a matching row is defined by having the same comparison key value in both databases), then an update is scripted. The update procedure is not to drop a row and insert the data back in.