Hello every one I have face a issue please let me know how to add new column for old user .
For e.g I have create a user in 6-dec-2021 it's successfully insert and Today I have add new column in table when user a signup time .
Like UserStatus -1 So UserStatus is not for old User now face a issue . So please let me know how to add column value for old user
Note-My two table
1.UserMaster
2.UserClaims - here how to add this table for old user
Satya KarkiPosted Dec 19, 2021, 5:55 AM
lalit agnihotriPosted Dec 24, 2021, 6:01 AM
Yazhini MPPosted Dec 20, 2021, 6:15 AM
The syntax of adding one column to an existing table by using ALTER TABLE ADD statement.
ALTER TABLE table_name
ADD column_name data_type column_constraint;
When adding a column to a large table, typically you want to add the column and fill the added column with a default value. For example, if you want to add a status column, next is to fill the column with a default value.
Vipin TiwariPosted Dec 18, 2021, 7:58 AM