The tables are being created dynamically, I don't know the column names or
field types.  I am currently using a subroutine to return the field types by
issuing a DESCRIBE on the table....but I was wondering if there was a SQL
trick to select stuff using field type criteria in the where clause.


-----Original Message-----
From: Scott Baker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 5:34 PM
To: Brian Kaney; mySQL Mailing List
Subject: Re: SELECT WHERE fieldtype


You have to select a certain row, there is no way to say all rows that are
NOT an int.

At 04:33 PM 1/16/2001 -0500, Brian Kaney wrote:
>Is there a way to SELECT FROM table WHERE field_type IS (NOT) 'something'.
>
>For example, 'something' could be TIMESTAMP, INT, FLOAT, AUTO_INCREMENT,
>etc...I looked through the manual and archives to no avail.


-------------------------------------
Scott Baker - Webster Internet - Network Technician
503.266.8253 - [EMAIL PROTECTED]

"Always bear in mind that your own resolution to success is more important
than any other one thing." - Abraham Lincoln



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to