Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to add columns dynamically to an existing table

808794Aug 21 2014 — edited Aug 26 2014

Hi , How can we add a column(s) dynamically to an existing table based on the date loading through a file?

For example, a table contains userid and phone number columns now. We get data on daily basis and load it into the table. on some day we get the additional column like Phone#2. We may get  few more columns like home#, office#, Fax# .... but not sure how many extra columns we get in future. When we get an additional column in file, there should be an additional column created in table dynamically.

How can I achieve this?

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2014
Added on Aug 21 2014
20 comments
7,908 views