Bluehost.com Web Hosting $6.95

How to programmatically get all MySQL data types?

This is a discussion on How to programmatically get all MySQL data types? within the MySQL Database forums, part of the Database Forums category; I want to have a list of MySQL data types to use in my application. Is there a query to ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-06-2007
thegoosmans@gmail.com
 
Posts: n/a
Default How to programmatically get all MySQL data types?

I want to have a list of MySQL data types to use in my application.
Is there a query to do this (or any other way)?

Thanks in advance.

Reply With Quote
  #2 (permalink)  
Old 03-06-2007
Jack Vamvas
 
Posts: n/a
Default Re: How to programmatically get all MySQL data types?

If you are using MySQL 5 -
select distinct data_type from information_schema.columns order by 1


--

Jack Vamvas
___________________________________
The latest IT jobs - www.ITjobfeed.com
<a href="http://www.itjobfeed.com">UK IT Jobs</a>


<thegoosmans@gmail.com> wrote in message
news:1173142255.386497.89490@n33g2000cwc.googlegro ups.com...
>I want to have a list of MySQL data types to use in my application.
> Is there a query to do this (or any other way)?
>
> Thanks in advance.
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0