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
How to retrieve data from an cursor to a record?
What happens if you set the sga too low in oracle?
What is the usage of save points in oracle database?
What is a select query statement in oracle?
What is a system tablespace and when it is created?
What is the meaning of recursive hints in oracle?
What is a cursor and what are the steps need to be taken?
How to call a stored function with parameters?
How to create a new table in your schema?
What is the parameter mode that can be passed to a procedure?
Explain the use of owner option in exp command.
What are the benefits of ordbms?
How many file formats are supported to export data?
How different is ms access and oracle?
Please explain joins in oracle?