ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  DB2
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
Normalization in DB2 – first normal form, second normal form
 Question Submitted By :: Savitha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Normalization in DB2 – first normal form, second normal form
Answer
# 1
The formal classifications describing the level of database 
normalization in a data model are called Normal Forms (NF) 
and the process of doing this is Normalization.
 
Is This Answer Correct ?    1 Yes 0 No
Mohan.s
 
  Re: Normalization in DB2 – first normal form, second normal form
Answer
# 2
First normal form (1NF) lays the groundwork for an 
organised database design:

•	Ensure that each table has a primary key: minimal 
set of attributes which can uniquely identify a record.

•	Eliminate repeating groups (categories of data 
which would seem to be required a different number of times 
on different records) by defining keyed and non-keyed 
attributes appropriately.

•	Atomicity: Each attribute must contain a single 
value, not a set of values.

•	'First normal form' depends on functional 
dependency formula f(x)=y. For every value of x there is 
value for y.
 
Is This Answer Correct ?    1 Yes 0 No
Mohan.s
 
 
 
  Re: Normalization in DB2 – first normal form, second normal form
Answer
# 3
Second normal form (2NF) If a table has a composite key, 
all attributes must be related to the whole key:

•	The database must meet all the requirements of the 
first normal form.

•	The relational schema should not have any partial 
functional dependency i.e. No proper subset of the primary 
key should derive a functional dependency belonging to the 
same schema. For example, consider functional dependencies 
FD:{AB->C, A->D, C->D} here AB is the primary key, as A->D 
this relational schema is not in 2NF.
 
Is This Answer Correct ?    1 Yes 0 No
Mohan.s
 
  Re: Normalization in DB2 – first normal form, second normal form
Answer
# 4
Third normal form (3NF) requires that data stored in a 
table be dependent only on the primary key, and not on any 
other field in the table.

•	The database must meet all the requirements of the 
first and second normal form.

•	All fields must be directly dependent on the 
primary key field. Any field which is dependent on a non-
key field which is in turn dependent on the Primary Key (ie 
a transitive dependency) is moved out to a separate 
database table.
 
Is This Answer Correct ?    1 Yes 0 No
Mohan.s
 

 
 
 
Other DB2 Interview Questions
 
  Question Asked @ Answers
 
in the CURSOR declare statement, if i am using an where clause and trying to compare the value with a host-varialble. EXEC SQL DECLARE C1 CURSOR FOR SELECT DEPTNO, DEPTNAME, MGRNO FROM DEPARTMENT WHERE ADMRDEPT = :ADM-DEPT Where would i need to provide value to this host-variable in the where clause. how could i pass value to this host-variable to check it. iGate1
What is a DB2 access path?  1
Where is the output of EXPLAIN stored?  2
How we create a tables in db2,what is the process/syntax to create a table with example plz?  1
What are PACKAGES ?  3
How could one combine a set of incremental image copies into a single copy?  1
How would you move a tablespace (using STOGROUP) to a different DASD volume allocated to that tablespace?  1
How we create a tables in DB2 ?Previously client has using 7 letters for user id,now he wants to increase the letters from 7 to 12 for user id.How we can do it? Wipro4
how to resolve -818 error. how to see timestamp token in load module and plan IBM2
What are data types?  2
How is a typical DB2 batch program executed ?  1
Usually, which is more important for DB2 system performance - CPU processing or I/O access?  1
What is the function of the Data Manager?  2
What is Skeleton cursor table (SKCT)?  2
What are the functions of Bind?  2
What will the COMMIT accomplish?  4
What is a clustering index?  2
Can we use select * statement in cobol program without giving field names ??? Zensar3
What is the purpose of the SDSNLOAD dataset in the STEPLIB while running DB2 programs?  2
how to resolve -811 sqlcode .give clear explaination IBM1
 
For more DB2 Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com