ADSM-L

Re: [ADSM-L] SQL error

2013-03-12 07:51:24
Subject: Re: [ADSM-L] SQL error
From: Richard Sims <rbs AT BU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 12 Mar 2013 07:49:06 -0400
You would expect the SQL world to be standardized, but you will find wide 
disparities in implementations and dialects.  ENUM is a case in point.  In 
PostgreSQL, the ENUM type is actually a data type separate from the built in 
NUMERIC and TEXT data types, so the regular numeric and string operators and 
functions don't work on it.  Contrastingly, in MySQL, ENUM is defined as a 
string object, where you can use LIKE.  The inconsistencies can be maddening 
for DBAs, particularly when trying to change to a different database system.

    Richard Sims

<Prev in Thread] Current Thread [Next in Thread>