<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SQL Check Constraints on MySQL Databases</title>
	<atom:link href="http://jordanhall.co.uk/general-articles/sql-check-constraints-on-mysql-databases-2102526/feed/" rel="self" type="application/rss+xml" />
	<link>http://jordanhall.co.uk/general-articles/sql-check-constraints-on-mysql-databases-2102526/</link>
	<description>Jordan Hall - programmer and geek</description>
	<lastBuildDate>Sun, 08 Apr 2012 03:02:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jed</title>
		<link>http://jordanhall.co.uk/general-articles/sql-check-constraints-on-mysql-databases-2102526/comment-page-1/#comment-43020</link>
		<dc:creator>Jed</dc:creator>
		<pubDate>Thu, 29 Dec 2011 21:38:40 +0000</pubDate>
		<guid isPermaLink="false">http://jordanhall.co.uk/?p=526#comment-43020</guid>
		<description>I commented on http://jordanhall.co.uk/general-articles/sql-check-constraints-not-supported-in-mysql-2204849/comment-page-1/#comment-43019 also, but in MySQL you do this with enum data type.</description>
		<content:encoded><![CDATA[<p>I commented on <a href="http://jordanhall.co.uk/general-articles/sql-check-constraints-not-supported-in-mysql-2204849/comment-page-1/#comment-43019" rel="nofollow">http://jordanhall.co.uk/general-articles/sql-check-constraints-not-supported-in-mysql-2204849/comment-page-1/#comment-43019</a> also, but in MySQL you do this with enum data type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL Check Constraints not supported in MySQL &#124; Jordan Hall</title>
		<link>http://jordanhall.co.uk/general-articles/sql-check-constraints-on-mysql-databases-2102526/comment-page-1/#comment-2472</link>
		<dc:creator>SQL Check Constraints not supported in MySQL &#124; Jordan Hall</dc:creator>
		<pubDate>Sat, 10 Apr 2010 16:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://jordanhall.co.uk/?p=526#comment-2472</guid>
		<description>[...] previously wrote about using SQL check constraints in MySQL. It seems however that the MySQL relational database management system (RDBMS) does not actually [...]</description>
		<content:encoded><![CDATA[<p>[...] previously wrote about using SQL check constraints in MySQL. It seems however that the MySQL relational database management system (RDBMS) does not actually [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matar</title>
		<link>http://jordanhall.co.uk/general-articles/sql-check-constraints-on-mysql-databases-2102526/comment-page-1/#comment-1370</link>
		<dc:creator>Matar</dc:creator>
		<pubDate>Tue, 02 Mar 2010 12:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://jordanhall.co.uk/?p=526#comment-1370</guid>
		<description>MySQL accepts this, but ignores it.

I tried your Persons example.  It worked.
I did: INSERT INTO Persons (P_Id, LastName, FirstName, Address, City) VALUES (&#039;-1&#039;, &#039;ln&#039;, &#039;fn&#039;, &#039;a&#039;, &#039;c&#039;);
It also worked.

MySQL ignores CHECKs...

&quot;The CHECK value is not available until we support CHECK.&quot;
http://dev.mysql.com/doc/refman/5.1/en/table-constraints-table.html</description>
		<content:encoded><![CDATA[<p>MySQL accepts this, but ignores it.</p>
<p>I tried your Persons example.  It worked.<br />
I did: INSERT INTO Persons (P_Id, LastName, FirstName, Address, City) VALUES (&#8216;-1&#8242;, &#8216;ln&#8217;, &#8216;fn&#8217;, &#8216;a&#8217;, &#8216;c&#8217;);<br />
It also worked.</p>
<p>MySQL ignores CHECKs&#8230;</p>
<p>&#8220;The CHECK value is not available until we support CHECK.&#8221;<br />
<a href="http://dev.mysql.com/doc/refman/5.1/en/table-constraints-table.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/table-constraints-table.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

