HI
I am trying to duplicate a field in database table along with data Can any one suggest me how to do this?
Discussion posts and replies are publicly visible
hi appiand5477 you can do using this statements
ALTER TABLE your_table ADD COLUMN new_column_name datatype; UPDATE your_table SET new_column_name = old_column_name;
But just wanted to know actual requirement why are you trying to duplicate data. It may not be best practice sometimes
I think appiand5477 needs the column data as well along with the table name.