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 |
Can group functions be used in the order by clause in oracle?
It's Urgent? How to IMPORT .xls & .txt file into ORACLE?
What is a Database instance ? Explain?
What is index-organized table in Oracle?
How to display First 4 rows From Database Table?
What is difference between sid and service name in oracle?
What is the effect of setting the value "CHOOSE" for OPTIMIZER_GOAL, parameter of the ALTER SESSION Command ?
What is recovery manager in Oracle?
how to we delete a row using varray
What is pragma restrict_reference in oracle 9i?When we use this?Give me one realtime scenario?
How to create id with auto_increment on oracle?
What are the different types of trigger and explain its various uses and functions?