If you do a
DESC tblNAME;
you can go through row by row and check if the Default is NULL
On Tue, 30 Jan 2001, Shawn Cummings wrote:
>
>
>
> I want to query out the field names where the "Default" is NULL ... so I
> can populate an HTML page for input...
>
> SHOW FIELDS FROM tblNAME;
>
> This shows the fieldnames, and the properties -- but how can I just get a
> list of the fieldnames where the Default is NULL -- or how can I get this
> list from a Perl script??
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php