Brook Davies wrote:
> Is it possible to somehow return a fields type via a SQL query? I want to
> be able to find out if a field is a text field or a varchar.

If your database supports the SQL standard INFORMATION_SCHEMA:
SELECT  *
FROM    information_schema.columns
WHERE   table_name = 'table'

Jochem

--
I don't get it
immigrants don't work
and steal our jobs
     - Loesje
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to