# Update the database

**URL:** <https://forums.toadworld.com/t/update-the-database/34532>\
**Category:** Toad Data Modeler\
**Created:** [November 18, 2015, 8:32am UTC](https://forums.toadworld.com/t/update-the-database/34532 "2015-11-18T08:32:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugotsouza](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@hugotsouza](https://forums.toadworld.com/u/hugotsouza)\
**Post date:** [November 18, 2015, 8:32am UTC](https://forums.toadworld.com/t/update-the-database/34532/1 "2015-11-18T08:32:34Z")

</div>

It is possible to generate a SQL script with only the changes made to the database type from version 1.00 to 1.01?

---

<div class="post-metadata">

**Author:** ![Lukas.Knapek](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/lukas.knapek/32/269_2.png) [@Lukas.Knapek](https://forums.toadworld.com/u/Lukas.Knapek)\
**Post date:** [November 19, 2015, 1:20am UTC](https://forums.toadworld.com/t/update-the-database/34532/2 "2015-11-19T01:20:20Z")

</div>

Hello there,

You can use [Change Script](http://documents.quest.com/toad-data-modeler/5.4/user-guide/projects-and-models/synchronization-and-model-actions/change-scripts) which compares your model with another model (or database) and generates SQL script according to the differences between compared items. If you don't want your database data to be deleted when applying changes, you should enable the **Use Temporary Tables to Preserve Data** option in **DDL Code Generation** section of **Generate Change Script** wizard.

 ![8688.TempTables.png](https://global.discourse-cdn.com/quest/original/2X/0/028393cdc5eb379887f39116433706c034e50728.png)

Regards,

Lukas
