referential

Algorithm 2D Referential traduction

Hi, I am trying to build a function grapher, The user enters xmin, xmax, ymin, ymax, function. I got the x, y for all points. Now i want to translate this initial referential to a Canvas starting at 0,0 up to 250,250. Is there a short way or should i just check if x < 0 new x = (x - xmin) * (250 / (xmax - xmin)) ? etc .. Also ...

How to check modality/cardinality on a relationship in Oracle

I am attempting to reverse engineer a Database that is in Oracle. I have been able to find the main keys and the referential integrity rules that correspond to the Foreign Keys but cannot locate where the modality/cardinality rules are stored. Any help regarding to which table to look in or a sample query would be greatly appreciated. ...