Unix Technical Forum

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

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. ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 10:29 AM
Occidental
 
Posts: n/a
Default 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

..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?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 10:29 AM
Kees Nuyt
 
Posts: n/a
Default Re: 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 tr

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 10:29 AM
Occidental
 
Posts: n/a
Default Re: 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 a

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com