TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
skov.morten
NA
1
0
Retrieving enum information
Apr 1 2005 3:24 PM
Hi, I'm using the MySqlDataReader object to get information from a DB after sending a select query. I need to find out which columns are returned and the myReader.GetDataTypeName(int) works fine. However, some columns might be of the ENUM type. For that I have 2 questions: 1. How do I check whether or not a column is of enum type? 2. How do I retrieve all valid entries for an enum column? In a given retrieved relation, only the values 'red' and 'blue' might appear, but I need to know what other types are valid. F.g 'orange'. Any help is greatly appreciated.
Reply
Answers (
1
)
Programmatically wants to check whether ODP.NET installed or Not
VERY basic one..