Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.12.2

Request #1566 show the default value of each field as result of tableInfo
Submitted: 2004-06-07 08:44 UTC
From: tricera_it at yahoo dot it Assigned: danielc
Status: Wont fix Package: DB
PHP Version: 4.3.6 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 21 + 42 = ?

 
 [2004-06-07 08:44 UTC] tricera_it at yahoo dot it
Description: ------------ Another useful information can be returned by tableInfo is the default value of each field. With mysql it can be retrieved with the query: "SHOW COLUMNS FROM table FROM database"

Comments

 [2004-06-14 22:53 UTC] danielc
This isn't possible in all databases. It is/will be deployed in DBMS's that support it.
 [2005-09-21 15:15 UTC] php at adaniels dot nl
When will this be done? It is possible to retrieve the default value for mysql and it is not done.