What is an alias?

Answers were Sorted based on User's Feedback



What is an alias?..

Answer / wellwisher

Alias is an alternate name of the table. It will be droped
when the base table is deleted.

Is This Answer Correct ?    2 Yes 2 No

What is an alias?..

Answer / mehdee

That is correct, Alias is an alternate name of the table
and it is used so that application programs will always be
right accessing these DB2 tables, for example:
table name alias name
- - - - - - - -
TABLE_A DATA_FOR_MON_0 (current mon)
TABLE_B DATA_FOR_MON_1 previous
TABLE_C DATA_FOR_MON_2

> now at the end of the month we want to purge the 3rd
month data and start fresh to add or load data for the
duration of the new cuurent month, so what DBADM does is
they simply EMPETY the last month DB2 table and reALIAS the
other two as:
table name alias name
- - - - - - - -
TABLE_C DATA_FOR_MON_0 (current mon)
TABLE_A DATA_FOR_MON_1 previous
TABLE_B DATA_FOR_MON_2
So the application programs using alias name will always
be right about which table is for which month.

Is This Answer Correct ?    0 Yes 0 No

What is an alias?..

Answer / ram.g

the last ans is wrong.
alias usually used to hide the location of ds. alias wont
be dropped when ts is dropped. it's avaiable to all.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More DB2 Interview Questions

What is the picture clause of the null indicator variable?

6 Answers  


What is DYNSLT keyword? How do you perform selection using DYNSLT

1 Answers  


What are the contents of dclgen?

0 Answers  


What r the comman abends in db2, jcl and cobol???????

0 Answers   Mphasis,


What is auditing?

2 Answers  






What is the difference between IN subselects and EXISTS subselect?

1 Answers   HCL, PreVator, TCS,


can you use symbolic parameters in JOB?

5 Answers   IBM,


If there is no row in Emp table with Ename as Raghava and you run the below queries in SPUFI. 1.select Ename from EMP wher Ename = 'raghava' 2.Select count(*) from EMP where Ename = 'raghava' What is SQLCODE shown up in SPUFI

4 Answers   ADP,


What information is contained in a SYSCOPY entry?

2 Answers  


Why do we use cursor?

0 Answers  


how many partitions are possible in partitioned tablespace? dont say 1-64. a)240 b)256 c)512 d)none

8 Answers   Amdocs, HeadStrong,


What is the difference between dbm cfg and db cfg file in db2 ?

0 Answers   MCN Solutions,


Categories