using same table for nextID()
| From: | Julio Nobrega | Date: | Thu, 20 Jun 2002 19:54:48 +0000 |
| Subject: | using same table for nextID() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-1727@lists.php.net to get a copy of this message | ||
Is it possible, would I have to make a patch, have anyone already did it,
so PearDB's nextID() uses the same table, and still have a different
sequential for an argument?
I was thinking that instead of creating a table and append '_seq' to the
name, it could create a new column.
I am asking this cause recently I've made a clean up at one of my
databases to deliver a script to a client and had to delete 32 tables
created by nextID(). It went down from 103 to 72....
Thanks for your time,
--
Julio Nobrega
Me empurraram pra chegar lá mais rápido!
http://www.inerciasensorial.com.br