Answer Posted / ali
Alias is the temporay name , where as rename is the permanent given.
RENAME:
1. RENAME OLD_TABLENAME to NEW_TABLENAME;
2. alter table table_name rename column column_name to new_columnname;
ALIAS:
1. select ename as name from table_name1 as empl1, table_name2 as empl2 where empl1.id = empl2.id;
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Which is better Oracle or MS SQL? Why?
How to call a stored function with parameters?
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
What are the differences between interval year to month and interval day to second?
What is a lookup table in oracle?
How to export your connection information to a file?
Describe varray?
Can you drop an index associated with a unique or primary key constraint?
What is the difference between post-database commit and post-form commit?
How to use "if" statements on multiple conditions?
What are the attributes of cursor?
What are a cluster and non-cluster index?
what is reindexing?
IS it possible to built the oracle database without setting the kernal parameters?
What is a tns file?