This is a discussion on Getting MySQL table info in perl script Options There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic. There was an error processing your request. Please try ag within the MySQL forums, part of the Database Server Software category; --> ..ie the column name, definitions (varchar(100) etc). The most obvious way is to parse the output from describe table_name. ...
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| ..ie the column name, definitions (varchar(100) etc). The most obvious way is to parse the output from describe table_name. Is there an easier way? |
| |||
| On Sat, 03 Nov 2007 13:45:47 -0700, Occidental <Occidental@comcast.net> wrote: > ..ie the column name, definitions (varchar(100) etc). The most >obvious way is to parse the output from describe table_name. Is there >an easier way? It all depends on what you want to do. Parsing the output from describe table_name would work but might not be the easiest way. Have a look at: http://dev.mysql.com/doc/refman/5.1/...on-schema.html -- ( Kees ) c[_] A good pun is its own reword. (#289) |
| ||||
| On Nov 3, 5:14 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote: > On Sat, 03 Nov 2007 13:45:47 -0700, Occidental > > <Occiden...@comcast.net> wrote: > > ..ie the column name, definitions (varchar(100) etc). The most > >obvious way is to parse the output from describe table_name. Is there > >an easier way? > > It all depends on what you want to do. > Parsing the output from describe table_name would work but > might not be the easiest way. Have a look at: > > http://dev.mysql.com/doc/refman/5.1/...on-schema.html > -- > ( Kees > ) > c[_] A good pun is its own reword. (#289) Thanks. Sorry about the messed up subject line. It was google news' screwup. |