GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Database  >  Teradata
Go To First  |  Previous Question  |  Next Question 
 Teradata  |  Question 24 of 27    Print  
Set and Multi Set Tables
What are set tables and multiset tables in Teradata?Explain with an appropriate example?


  
Total Answers and Comments: 3 Last Update: April 14, 2009     Asked by: parikshit18 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: ielosta
 
1)      Set tables cannot accept duplicate at row level not Index or key level.

Exmaple of rows for set table:

R1 c2 c3 c4 .. cn
1    2   3  4 ...  9      Accepted
1    2   3  4 ...  9      Duplicate is Rejected
2    1   2  4 ...  9       
3    2   4  4 ...  9       
4    3   4  4 ...  9       
  2)      Musti set Tables can accept duplicate at row level not Index or key level.

Exmaple of rows for multi set table:

R1 c2 c3 c4 .. cn
1    2   3  4 ...  9       
1    2   3  4 ...  9       Duplicate is Accepted
2    1   2  4 ...  9       
3    2   4  4 ...  9         
3    2   4  4 ...  9       Duplicate is Accepted

 

Cheer,

Imo



Above answer was rated as good by the following members:
sri789
December 04, 2008 15:57:18   #1  
ielosta Member Since: August 2006   Contribution: 5    

RE: Set and Multi Set Tables
1) Set tables cannot accept duplicate at row level not Index or key level.

Exmaple of rows for set table:

R1 c2 c3 c4 .. cn
1 2 3 4 ... 9 Accepted
1 2 3 4 ... 9 Duplicate is Rejected
2 1 2 4 ... 9
3 2 4 4 ... 9
4 3 4 4 ... 9
2) Musti set Tables can accept duplicate at row level not Index or key level.

Exmaple of rows for multi set table:

R1 c2 c3 c4 .. cn
1 2 3 4 ... 9
1 2 3 4 ... 9 Duplicate is Accepted
2 1 2 4 ... 9
3 2 4 4 ... 9
3 2 4 4 ... 9 Duplicate is Accepted

Cheer

Imo


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
January 15, 2009 02:15:38   #2  
sri789 Member Since: January 2009   Contribution: 5    

RE: Set and Multi Set Tables
Set table does not allow dupicate values.
Multiset table allows duplicates.

 
Is this answer useful? Yes | No
April 14, 2009 01:20:54   #3  
asshu18 Member Since: April 2009   Contribution: 2    

RE: Set and Multi Set Tables
Set tables doesnt accept exact duplicate records to be inserted in the table. whereas multiset do.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape