MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help needed in handling data integrity issue..

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
anu.k
Beginner


Joined: 09 Nov 2006
Posts: 6
Topics: 4

PostPosted: Wed Dec 17, 2008 11:58 am    Post subject: Help needed in handling data integrity issue.. Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Dec 18, 2008 3:44 am    Post subject: Reply with quote

you could write an update/insert trigger
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group