| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| anu.k Beginner
 
 
 Joined: 09 Nov 2006
 Posts: 6
 Topics: 4
 
 
 | 
			
				|  Posted: Wed Dec 17, 2008 11:58 am    Post subject: Help needed in handling data integrity issue.. |   |  
				| 
 |  
				| Hi, 
 Currently, there is a unique index defined on below columns on a table.
 DATE
 U-NO
 OFC
 ACCT
 REC-CRTE-DT
 REC-CRTE-TM
 
 In addition to the above unique constraint, business rules dictate that there can not be any two rows having DATE =
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dbzTHEdinosauer Supermod
 
 
 Joined: 20 Oct 2006
 Posts: 1411
 Topics: 26
 Location: germany
 
 | 
			
				|  Posted: Thu Dec 18, 2008 3:44 am    Post subject: |   |  
				| 
 |  
				| you could write an update/insert trigger _________________
 Dick Brenholtz
 American living in Varel, Germany
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |