<?xml version="1.0" encoding="UTF-8"?><!-- generator="orablog/0.3+" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Emulating MySQL ENUM Columns</title>
	<link>http://www.lamp2lapo.com/2007/04/01/emulating-mysql-enum-columns/</link>
	<description>Helping PHP developers migrate from MySQL to Oracle</description>
	<pubDate>Tue, 07 Oct 2008 10:05:46 +0000</pubDate>
	<generator>http://www.orablog.org/?v=0.3+</generator>

	<item>
		<title>by: fifers</title>
		<link>http://www.lamp2lapo.com/2007/04/01/emulating-mysql-enum-columns/#comment-636</link>
		<pubDate>Thu, 25 Sep 2008 10:33:15 +0000</pubDate>
		<guid>http://www.lamp2lapo.com/2007/04/01/emulating-mysql-enum-columns/#comment-636</guid>
					<description>Agreed. In an implementation with millions of rows it would make a big savings.  You would probably use a cross-reference table in Oracle if space was a concern in your application.  Another advantage of using a cross-reference table is that you can modify the parameters at run-time.  Enum and the Oracle-equivalent does lock you in to that set of choices until you alter the table structure.  When creating schemas from scratch we generally avoid enums in MySQL for this very reason.  This trick is most useful for adding Oracle support to an application designed for MySQL.</description>
		<content:encoded><![CDATA[<p>Agreed. In an implementation with millions of rows it would make a big savings.  You would probably use a cross-reference table in Oracle if space was a concern in your application.  Another advantage of using a cross-reference table is that you can modify the parameters at run-time.  Enum and the Oracle-equivalent does lock you in to that set of choices until you alter the table structure.  When creating schemas from scratch we generally avoid enums in MySQL for this very reason.  This trick is most useful for adding Oracle support to an application designed for MySQL.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: baroto</title>
		<link>http://www.lamp2lapo.com/2007/04/01/emulating-mysql-enum-columns/#comment-635</link>
		<pubDate>Thu, 25 Sep 2008 05:51:53 +0000</pubDate>
		<guid>http://www.lamp2lapo.com/2007/04/01/emulating-mysql-enum-columns/#comment-635</guid>
					<description>I hope Oracle implements some kind of enum type like mysql. The problem with the Oracle version is that the table will be larger as compared to the mysql version since it stores the entire text entry while in the mysql enum, it only stores the index number since the representation is stored in the table definition.</description>
		<content:encoded><![CDATA[<p>I hope Oracle implements some kind of enum type like mysql. The problem with the Oracle version is that the table will be larger as compared to the mysql version since it stores the entire text entry while in the mysql enum, it only stores the index number since the representation is stored in the table definition.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
