<?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://blog.sudej.com/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sudej.com</link>
	<description>ก็เวลายังไม่เดินเป็นเส้นตรง แล้วความรักที่มั่นคงจะมีจริงไหม?</description>
	<lastBuildDate>Tue, 07 Sep 2010 10:26:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>TRUNCATE TABLES ALL</title>
		<link>http://blog.sudej.com/2009/02/truncate-tables-all/</link>
		<comments>http://blog.sudej.com/2009/02/truncate-tables-all/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:25:45 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[manage]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[truncate]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=427</guid>
		<description><![CDATA[เมื่อผู้พัฒนา เรื่องเข้าใจ ในการทำงานของ คลาส ดาต้าเบส แล้ว ต่อจากนี้ผมจะเอาตัวที่จัดการ การทำงาน ของ MySQL ตัวหนึ่งมาให้รู้กัน นั้นคือ คำสั่ง TRUNCATE นั้นเองการทำงานของคำสั่งนี่คือการทำให้ Table ที่ทุกสั่งนั้น จะเป็น EMPTY ทั้งหมด ในโปรแกรม phpmyadmin นั้นมีอยู่แล้ว แต่ว่า ผมอยากเขียนขึ้นมาใหม่อ่ะ ขี้เกียจไปเข้ามันช้า มาดูการเขียนกันคับ รูปแบบคำสั่งของมันจะเป็นแบบนี้คับ และ เพิ่มเติมให้อีกอันน่ะคับ นั้นก็คือตัว SHOW TABLES; TRUNCATE TABLE ชื่อเทเบิ้ล; ex TRUNCATE TABLE tbl_model; งั้นมาดูโค้ดที่ผมเขียนกันเลยน่ะคับ ขั้นตอนแรกก็ include ไฟล์ที่ชื่อว่า class.mysql.php เข้ามาก่อนน่ะคับ แ้ล้วไปตั้ง ค่า config ที่ตัว constant กันก่อนคับ ลอง ๆ หาดู [...]]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/02/truncate-tables-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enum Type</title>
		<link>http://blog.sudej.com/2009/01/enum-type/</link>
		<comments>http://blog.sudej.com/2009/01/enum-type/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 15:07:00 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[enum]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=49</guid>
		<description><![CDATA[The ENUM Type An ENUM is a string object with a value chosen from a list of allowed values that are enumerated explicitly in the column specification at table creation time. For example, a column specified as ENUM('one', 'two', 'three') can have any of the values shown here. The index of each value is also [...]]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/01/enum-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->