What is difference between Rename and Alias?



What is difference between Rename and Alias?..

Answer / 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

More Oracle General Interview Questions

Can group functions be used in the order by clause in oracle?

0 Answers  


It's Urgent? How to IMPORT .xls & .txt file into ORACLE?

5 Answers  


What is a Database instance ? Explain?

3 Answers  


What is index-organized table in Oracle?

0 Answers   MCN Solutions,


How to display First 4 rows From Database Table?

6 Answers  






What is difference between sid and service name in oracle?

0 Answers  


What is the effect of setting the value "CHOOSE" for OPTIMIZER_GOAL, parameter of the ALTER SESSION Command ?

2 Answers  


What is recovery manager in Oracle?

0 Answers   MCN Solutions,


how to we delete a row using varray

3 Answers   CTC,


What is pragma restrict_reference in oracle 9i?When we use this?Give me one realtime scenario?

4 Answers   Microsoft, Wipro,


How to create id with auto_increment on oracle?

0 Answers  


What are the different types of trigger and explain its various uses and functions?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)