ArnisR Posted August 16, 2010 Report Share Posted August 16, 2010 Kā var stabiņā izvadīt vienas mysql tabulas visus lauku nosaukumus? Quote Link to comment Share on other sites More sharing options...
codez Posted August 16, 2010 Report Share Posted August 16, 2010 (edited) http://dev.mysql.com/doc/refman/5.0/en/describe.html mysql> DESCRIBE City; +------------+----------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------+----------+------+-----+---------+----------------+ | Id | int(11) | NO | PRI | NULL | auto_increment | | Name | char(35) | NO | | | | | Country | char(3) | NO | UNI | | | | District | char(20) | YES | MUL | | | | Population | int(11) | NO | | 0 | | +------------+----------+------+-----+---------+----------------+ 5 rows in set (0.00 sec) Edited August 16, 2010 by codez Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.