How can we add a column to a table without altering the
same?

Answer Posted / sanjay rawat

In oracle,
1. take data in new table from existing table
2. add a new column in new table by using alter command
3. drop existing table
4. rename new table with existing table name
5. Check by select query

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you check the long running transaction?

483


How do I move tempdb off of the master device?

467


You need to multiply all values of a single column. How would you do that?

481


Can I use a named pipe to bcp/dump data out or in in sybase?

591


Explain tds (tabular data streams).

505






Compare in and exists?

540


Is there any advantage of last_name varchar(50) over this last_name varchar(255)?

571


Alternative to row at a time processing in sybase?

413


Which version of open client works with which ase in sybase?

436


How do I open a sybase database?

451


What is open server in sybase?

459


Explain procedure cache?

519


How to save space when inserting rows monotonically?

456


How do I set ts role in order to run certain dbccs?

443


What is server replication?

492