<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>#{茶男與藍牌} &#187; SQL</title>
	<atom:link href="http://www.chentianwen.net/wordpress/category/it/sql-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chentianwen.net/wordpress</link>
	<description>Life has to be exciting.</description>
	<lastBuildDate>Wed, 01 Feb 2012 01:34:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>SQLException for zero DATETIME or TIMESTAMP column? Use zeroDateTimeBehavior</title>
		<link>http://www.chentianwen.net/wordpress/2009/04/03/sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior</link>
		<comments>http://www.chentianwen.net/wordpress/2009/04/03/sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 04:05:42 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=185</guid>
		<description><![CDATA[<p>from <a href="http://ondra.zizka.cz/stranky/programovani/java/index.texy">http://ondra.zizka.cz/stranky/programovani/java/index.texy</a></p> <p>When working with MySQL over JDBC and the driver encounters a zero DATE, TIME, or DATETIME value (that is, e.g, ‚0000–00–00‘ for DATE), an exception is thrown:</p> java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 4 to TIMESTAMP. <p>In this case, using SQL commands like</p> SET GLOBAL sql_mode = 'NO_ZERO_DATE'; <p>does not [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2009/04/03/sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: Get Next Auto_increment</title>
		<link>http://www.chentianwen.net/wordpress/2009/01/28/mysql-get-next-auto_increment/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-get-next-auto_increment</link>
		<comments>http://www.chentianwen.net/wordpress/2009/01/28/mysql-get-next-auto_increment/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 13:04:37 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=156</guid>
		<description><![CDATA[from <a href="http://blog.jamiedoris.com/geek/560/">http://blog.jamiedoris.com/geek/560/</a> MySQL: Get Next Auto_increment Thursday April 24th, 2003 <p><a name="560"></a></p> <p>** It is not recommended to use this method for generating foreign keys for lookups. In a multiuser environment with simultaneous requests the results will be utterly useless and unreliable. OK? **</p> <p>So I was working on the preview feature of the [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2009/01/28/mysql-get-next-auto_increment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Sample for MSSQL</title>
		<link>http://www.chentianwen.net/wordpress/2008/11/04/sql-sample-for-mssql/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sql-sample-for-mssql</link>
		<comments>http://www.chentianwen.net/wordpress/2008/11/04/sql-sample-for-mssql/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 13:00:48 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=106</guid>
		<description><![CDATA[select * from SYSOBJECTS where TYPE = 'U' order by NAME <p>equals to the one in mysql</p> show tables <p>Or we can use sp_help, for exmple:</p> exec sp_help database_name <p>refer to <a href="http://msdn.microsoft.com/en-us/library/aa933429.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/aa933429.aspx</a></p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2008/11/04/sql-sample-for-mssql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

