#1 2018-12-22 08:02:01

keinn
Member
Registered: 2014-10-20
Posts: 100

when add new fileds to table,how to set defalut value to them

hi,everyone
i need to update the table structure, add some more fileds to it,
but if we just add the new filed definition to the TSQLRecord,
the default value will be NULL at all old table row( old table have many rows ,not empty new table),
in practice , we need to fill default value to it .
i try the InitializeTable proc, but cannot find a proper way to do it .

anyone can post a sample code?
thanks very much.

Offline

Board footer

Powered by FluxBB