Re: Database Object

From: Date: Tue, 25 Sep 2007 04:24:04 +0000
Subject: Re: Database Object
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-44052@lists.php.net to get a copy of this message
ok, both CME and CMD are contract, but differ in it's content, one is tower and other is microwave. how to put the class into database ? should i made a contract table , a cme and cmd one... ? any suggestion ?
I'd have two tables because they are separate data relationships. One for towers, one for microwaves. Why would you need to keep the id's & dates separate to the other information? Wouldn't each entity have a separate id (date's can obviously be the same) ? -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.db (#44052) next »