question

AmjadAlmasri avatar image
AmjadAlmasri asked

Maintain the data in Dynamic DB

When I creat a dynamic DB contains a Dynamic tables, when the table changed, I mean when its field become less or more dynamically, how it will maintain its data, for example if I reduced the field, that's to say I altered the table by deleting 1 field, the old data that this field had it before how to maintain it and in which way, please guide and I appreciate any help, thank u all.
dynamicmaintain
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Grant Fritchey avatar image
Grant Fritchey answered
If you remove a column from a table, that data is not maintained in any way. It's gone. Period. There is not automatic method that protects against someone with Data Definition Language access to the server shortening a data type in a column or anything else. Any sort of alterations along these lines will lead to data loss. What is it that you're trying to do that you would both want to retain data and drop the columns that the data is stored in?
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.