Is there anywhere list of the rules to convert ERD to DDL commands? I don't want to do it in an intuitive way; I need all-cases-handling rules, so I could write code that will do it.
(I don't want tool that do this; I want the rules to be so generic and handle all cases, that even stupid computer (with samrt programmer) could do it himself while it following the rules).