Re: MDB2 Oracle Reflection
| From: | Lukas Kahwe Smith | Date: | Fri, 01 Sep 2006 17:20:21 +0000 |
| Subject: | Re: MDB2 Oracle Reflection | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25045@lists.php.net to get a copy of this message | ||
Jeff Loiselle wrote:
Is there a way to ask Oracle what fields a table has, as well as the type and lengths of those fields? I assumed it would be in one of the modules, but I can't seem to extract type and length data.yes $mdb2->loadModule('Manager'); $mdb2->manager->[any of the manager modules] http://pear.php.net/package/MDB2/docs/latest/MDB2/MDB2_Driver_Manager_Common.html $mdb2->loadModule('Reverse'); $mdb2->reverse->[any of the reverse modules] http://pear.php.net/package/MDB2/docs/latest/MDB2/MDB2_Driver_Reverse_Common.html regards, Lukas