2c Updating Database Tables |
Top Previous Next |
|
To update an existing table (in the event of an update, for example), follow the instructions below.
Tip: Every database system has their own little syntax idiosyncrasies and the scripts might require tweaking. You can edit the table scripts in this screen and save your modified scripts. One example are 'date' and 'time' or 'money' data types that do not exist in SQL Server 2005. You can just rename those types to 'datetime' and save you script and it will run fine. 3. Having clicked Compare Script with existing Table, the script will be compared to the existing table and any additional fields will be presented. In this example, the Trading Partner table's Address fields will be added.
4. Click Execute Scipt. This will perform the additions/changes stated in the alter table script and a prompt will appear informing you of the change. The table has now been modified.
|