| Posted by --CELKO-- on 04/24/06 05:21 
>> .. repeat the qurey within the tables using "parameter" TBL_NAMEwhere neccessary.  <<
 
 You need to change your ENTIRE MENTAL MODEL.  You are still thinking in
 terms of a file system model of data.  A table models a set of one and
 only one kind of entity.  Thus passing a table name to a procedure is
 totally wrong.  Your procedure would lack any coupling and cohesion.
 It would be named the "Britney Spears, Squids and/or Automobiles"
 procedure, so generic as to be unmaintainable.
 
 The design flaw Hugo showed you is called "attribute splitting" -- a
 table is split up on the values of an attribute.
 [Back to original message] |