Re: selecting field information in SQL
From: John Doherty <jdoherty_at_gstype.com>
Date: Fri, 27 Apr 2001 16:26:16 -0500
Message-ID: <jdoherty-2704011626160001_at_192.168.2.162>
Date: Fri, 27 Apr 2001 16:26:16 -0500
Message-ID: <jdoherty-2704011626160001_at_192.168.2.162>
In article <3AE9A746.7A3F092B_at_netscape.net>, kelli norman <kellikellin_at_netscape.net> wrote:
| i hope this doesn't sound totally confusing:
| how do i get certain fields' information from a table, even if no
| records exist? i need to get information about the fields (size and if
| numeric) of a table that i usually get with my select stmt, but my
| select statement will sometimes return an empty record set and so i
| don't get the field information.
|
| i'm using mysql.
SHOW COLUMNS FROM <tablename>;
--Received on Fri Apr 27 2001 - 23:26:16 CEST