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
What is redo log?
How to define a record variable to store a table row?
What is the difference between count (*), count (expression), count (distinct expression)?
what is the scripts in data base?
What is dual table oracle?
What happens to the current transaction if the session is killed?
What is the usage of analyze command in oracle?
What is the use of oracle?
Explain enable novalidate constraint.
How to run create database statement?
Is oracle a language?
What are the common oracle dba tasks?
What is a database schema in oracle?
Explain the use of online redo log files in oracle.
How to login to the server without an instance?