Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need cascading inserts!
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00016574
Message ID:
00017001
Views:
76
>>>>Hi All,
>>>>
>>>>My problem is, when I add a new person to my Parent table I also need to add theit Social Security number to about 8 other tables (SSAN is a candidate key). I don't know how to go about creating a custom procedure and modify my referential integrity. Is there anybody out there who have these same requirements and how did you go about accomplishing the task. Using VFP 5.0.
>>>>
>>>>Thanks in advance
>>>>
>>>>Jon
>>>
>>>YIKES!!!!!
>>>
>>>Are you using SSN as a key????? YIKES!!!! SSN is NOT unique. There are duplicates. I went to college with two people that had the same SSN. Talk about a nightmare.
>>>
>>They should be unique identifiers for U.S. citizens, but due to fraud/error it's possible to have trouble, as you say...
>
>It's not just fraud. Error is the main problem. The government has issued duplicate SSNs.
>
I'm not saying that error doesn't/can't occur, but it is true that most universities, fed/state/local governments, and many businesses use SSN as unique key without serious problem. It generally works fine, but you should definitely build in a check to verify uniqueness before you add a new SSN to your DB.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform