IBM Data & AI

 Welcome to the IBM Data & AI Ideas Portal for Clients! 

We welcome and appreciate your feedback on IBM Data & AI Products to help make them even better than they are today!
Before you submit an idea, please perform a search first as a similar idea may have already been reported in the portal.  If a related idea is not yet listed, please create a new idea and include with it a description which includes expected behavior as well as why having this feature would improve the service and how it would address your use case.
IBM Employees:
Clients:
  • Our team welcomes any feedback  and suggestions you have for improving our offerings / products!  This forum allows us to connect your offering / product improvement ideas with IBM product and engineering teams.
  • If you have not registered on this portal please click on the following link and register.  To complete registration you will need to open the email you will receive from Aha to confirm your identity. http://ibm.biz/IBM-Data-and-AI-Portal-Register
Additional Information:
  • The shorter URL for this site is: https://ibm.biz/IBM-Data-and-AI-Ideas
  • To view our roadmaps: http://ibm.biz/Data-and-AI-Roadmaps
  • Reminder: This is not the place to submit defects or support needs, please use normal support channel for these cases
  • Please do not use the Ideas Portal for reporting bugs - we ask that you report bugs or issues with the product by contacting IBM support.

create a foreign key allowing one to one tables relationships

Our Primary Key and Foreign key constraints always have allowed creaing and ensuring '1 to many' table relationships. After researching, there is no direct way to implement such a case with Informix. The only safe way is to create a primary key on the 'parent' table, a unique index on the 'child' table plus a trigger with references that will catch insert and delete. This trigger will fire a SPL that will count the rows in the parent table matching the new key. If 1 row, the child row is created, else the SP returns an error. Same principle for DELETE

  • ERic VERCELLETTO
  • Sep 17 2019
  • Needs review
Why is it useful?
Who would benefit from this IDEA? Anyone who needs to implement a one to one relationship in a safe, generic and simple way
How should it work?

MS SQL Server has this feature, which is pretty well described in this URL  https://www.tech-recipes.com/rx/56738/one-to-one-one-to-many-table-relationships-in-sql-server/

This kind of relationship can be created using Primary key-Unique foreign key constraints with MS Sql Server, and I suggest to use the same principle

Idea Priority Medium
Priority Justification
Customer Name kandooERP
Submitting Organization
Submitter Tags
  • Attach files

NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "anonymous@euprivacy.out" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions