<?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>Vos Virtual Network &#187; Geshi</title>
	<atom:link href="http://vvn.net/wp/tag/geshi/feed/" rel="self" type="application/rss+xml" />
	<link>http://vvn.net/wp</link>
	<description>Jazz Like Code and Music For Life</description>
	<lastBuildDate>Fri, 07 Jan 2011 19:46:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Code Colorizing MySQL</title>
		<link>http://vvn.net/wp/2008/09/25/code-colorizing-mysql/</link>
		<comments>http://vvn.net/wp/2008/09/25/code-colorizing-mysql/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 11:15:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CompuScriptology]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Geshi]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://vvn.net/wp/?p=954</guid>
		<description><![CDATA[An example of code colorizing MySQL table creation. This example shows creation of a simple contact list, or client list. 1 2 3 4 5 6 7 8 9 CREATE TABLE IF NOT EXISTS `clients` &#40; `id` mediumint&#40;8&#41; unsigned NOT &#8230; <a href="http://vvn.net/wp/2008/09/25/code-colorizing-mysql/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>An example of code colorizing MySQL table creation.<br />
This example shows creation of a simple contact list, or client list.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #990099; font-weight: bold;">IF <span style="color: #CC0099; font-weight: bold;">NOT</span> EXISTS</span> <span style="color: #008000;">`clients`</span> <span style="color: #FF00FF;">&#40;</span>
 <span style="color: #008000;">`id`</span> <span style="color: #999900; font-weight: bold;">mediumint</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">8</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`email<span style="color: #008080; font-weight: bold;">_</span>address`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">72</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> <span style="color: #000099;">ascii</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`firstname`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">16</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> utf8 <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`lastname`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span> character <span style="color: #990099; font-weight: bold;">set</span> utf8 <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #008000;">`date<span style="color: #008080; font-weight: bold;">_</span>added`</span> <span style="color: #999900; font-weight: bold;">datetime</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
 <span style="color: #FF9900; font-weight: bold;">UNIQUE</span> <span style="color: #990099; font-weight: bold;">KEY</span> <span style="color: #008000;">`id`</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`id`</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
 <span style="color: #FF9900; font-weight: bold;">UNIQUE</span> <span style="color: #990099; font-weight: bold;">KEY</span> <span style="color: #008000;">`email<span style="color: #008080; font-weight: bold;">_</span>address`</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`email<span style="color: #008080; font-weight: bold;">_</span>address`</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">ENGINE</span><span style="color: #CC0099;">=</span>MyISAM <span style="color: #990099; font-weight: bold;">DEFAULT</span> <span style="color: #FF9900; font-weight: bold;">CHARSET</span><span style="color: #CC0099;">=</span>latin1 <span style="color: #FF9900; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #CC0099;">=</span><span style="color: #008080;">1</span> <span style="color: #000033;">;</span></pre></td></tr></table></div>

<p>What&#8217;s up with IS? </p>
<p>I guess IN and IS are considered key words in MySQL and the Geshi <a href="http://qbnz.com/highlighter/">Generic Syntax Highlighter</a> colorizing library. Is that a bug in the parsing routine, or what?</p>
]]></content:encoded>
			<wfw:commentRss>http://vvn.net/wp/2008/09/25/code-colorizing-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

