Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why do we need to create an alias if we can directly use
the table name? What are the benefits of referring a table
name by its alias?

Also, when should we go for alias and when for synonyms?

Answer Posted / siva

let us consider we have a database with no of tables and one table name is ComputerScienceAndEngineering_Departement
if any one want to access this table they should use full name
ex: select * from ComputerScienceAndEngineering_Departement ;
it may be difficult to someone and sometimes to us also .
so if we creating alias like csedept then it will become simple to access it.
An alias is simply an alternate name for a table or view. Like tables and views, an alias can be created, dropped, and have comments associated with it.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I connect my db2 database to ibm?

1085


How can you quickly find out the # of rows updated after an update statement?

1084


What is bind and rebind in db2?

1188


What is ibm db2 connect?

1054


Describe major components of db2?

1143


Highlight all the advantages that are attached to a package.

1169


Why db2 is called db2?

1105


What is coalesce in db2?

1184


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2268


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

3204


What is the role of union all and union

1187


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

1109


Are views updateable?

1234


What is the difference between spufi and qmf?

1204


What are the contents of dclgen?

1160