<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
	<channel>
		<title>日光月美</title>
		<link>http://www.xssep.com</link>
		<description>提供丝魅,丝宝等国产丝袜,及MyWife.cc,Maxi-247等日系套图打包下载,做国内最强的套图下载站,看最幽默最冷的笑话,网页设计中的一些精品代码收录...</description>
		<generator>Rss Powered by FL&amp;Lin For Php 2.0</generator>
		<image>
			<url></url>
			<title>日光月美</title>
			<link>http://www.xssep.com</link>
		</image>
<item>

		  			<title><![CDATA[jQuery插件-轻量级的弹出窗口wBox]]></title>

		 			<link>http://www.xssep.com/view-1241.html</link>

					<description><![CDATA[wBox——轻量级的弹出窗口jQuery插件，基于jQuery1.4开发，主要实现弹出框的效果，并且加入了很多有趣的功能，比如可img灯箱效果，callback函数，显示隐藏层，Ajax页面，iframe嵌入页面……<br />
<br />
背景透明度可以根据实际情况进行调节，甚至不设置背景 <br />
可以根据需要添加wBox标题 <br />
支持设置窗口位置，默认为在中心显示 <br />
支持callback函数 <br />
支持html内容自定义<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Fri, 12 Mar 2010 01:34:44 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[jQuery 居中的淡入淡出滚出式信息提示框]]></title>

		 			<link>http://www.xssep.com/view-1126.html</link>

					<description><![CDATA[<div class="p_ubbimg"><img src="/atta.php?type=gif&attaid=120" alt="点击查看大图"&nbsp;&nbsp;class="ubbimg" onload="attachimg(this, 'load');" onmouseover="attachimg(this, 'mouseover');" onclick="window.open(this.src);"&nbsp;&nbsp;/></div><br />
用jQuery插件编写的一个提示框特效，这个提示框有两个特点：<br />
1、始终显示在网页的中间，也就是居中显示；<br />
2、出现 的方式是仿Flash动画的，不但有淡入淡出效果，而且还结合了从左至右的滑出式滚动特效，使得这个提示框整体动感效果挺不错，大家不妨一试。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sun, 21 Feb 2010 08:04:28 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[PHP二维数组去重复项函数]]></title>

		 			<link>http://www.xssep.com/view-1093.html</link>

					<description><![CDATA[PHP数组去除重复项有个内置函数array_unique()，但是php的array_unique函数只适用于一维数组，对多维数组并不适用，以下提供一个二维数组的array_unique函数<br />
<br />
[code]//二维数组去掉重复值<br />
function array_unique_fb($array2D){<br />
&nbsp; &nbsp;&nbsp;&nbsp;foreach ($array2D as $v){<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$v = join(",",$v);&nbsp;&nbsp;//降维,也可以用implode,将一维数组转换为用逗号连接的字符串<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;$temp[] = $v;<br />
&nbsp; &nbsp;&nbsp;&nbsp;}<br />
&nbsp; &nbsp;&nbsp;&nbsp;$temp = array_unique($temp);&nbsp; &nbsp; //去掉重复的字符串,也就是重复的一维数组<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Thu, 18 Feb 2010 00:13:56 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[在javascript中使用PHP函数]]></title>

		 			<link>http://www.xssep.com/view-1083.html</link>

					<description><![CDATA[PHPJS是一款允许你在客户端使用php函数的javascript库。<br />
<br />
如果能在静态页面中调用PHP函数，将会对很多开发者有用。它允许你方便的调用一些功能函数（诸如file_get_contents(), mktime(), serialize()），也可减轻服务器端负担。<br />
<br />
<div class="p_ubbimg"><img src="/atta.php?type=jpg&attaid=116" alt="点击查看大图"&nbsp;&nbsp;class="ubbimg" onload="attachimg(this, 'load');" onmouseover="attachimg(this, 'mouseover');" onclick="window.open(this.src);"&nbsp;&nbsp;/></div><br />
<br />
目前已经有约400个功能函数被移植过来，还有函数正在测试并逐步包含进来。你可以在这些函数中找到那些常用的方法（甚至是even md5()）。<br />
下载包是完全可以定制的（你可选择包含哪些功能函数），你可以只选择只使用其中一个方法，也可以是全部。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Wed, 17 Feb 2010 07:21:45 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[jQuery1.4新功能介绍]]></title>

		 			<link>http://www.xssep.com/view-873.html</link>

					<description><![CDATA[jQuery 1.4 发布啦<br />
 <br />
为了庆祝jQuery的四周岁生日, jQuery的团队荣幸的发布了jQuery Javascript库的最新主要版本! 这个版本包含了大量的编程，测试，和记录文档的工作，我们为此感到很骄傲。<br />
<br />
我要以个人的名义感谢 Brandon Aaron, Ben Alman, Louis-Rémi Babe, Ariel Flesler, Paul Irish, Robert Kati?, Yehuda Katz, Dave Methvin, Justin Meyer, Karl Swedberg, and Aaron Quint。谢谢他们在修复BUG和完成这次发布上所做的工作。<br />
 <br />
<strong><span style='color:Red'>下载(Downloading)</span></strong><br />
<br />
按照惯例，我们提供了两份jQuery的拷贝，一份是最小化的(我们现在采用Google Closure作为默认的压缩工具了)，一份是未压缩的(供纠错或阅读)。<br />
<a href="http://code.jquery.com/jquery-1.4.min.js" target="_blank" rel="nofollow">jQuery压缩</a> (23kb Gzipped) <br />
<a href="http://code.jquery.com/jquery-1.4.js" target="_blank" rel="nofollow">jQuery常规</a> (154kb) <div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Tue, 26 Jan 2010 03:30:40 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[jquery.qeeform表单美化插件]]></title>

		 			<link>http://www.xssep.com/view-848.html</link>

					<description><![CDATA[用法：<br />
$(\":checkbox,:radio\").qeeform();<br />
<br />
在线演示：<br />
<a href="http://www.deeka.cn/demo/jquery/qeeform/" target="_blank" rel="nofollow">http://www.deeka.cn/demo/jquery/qeeform/</a><br />
<br />
下载:<br />
<p class="p_ubbdown">本地下载 &raquo;&raquo; <a href="/atta.php?type=rar&attaid=103" target="_blank">点击下载附件</a></p><div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Mon, 18 Jan 2010 08:23:23 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[php数组技巧二则]]></title>

		 			<link>http://www.xssep.com/view-751.html</link>

					<description><![CDATA[这篇文章介绍的是php 中的数组处理函数 in_array()和array_key_exists () ，之所以介绍这二个函数，是因为他在我做项目时对我的帮助很大， <br />
<br />
举个简单的例子，比如我在添加一个订单，失败后转到另一个页面，并传个错误号，这时我可以把所以错误号定义成数组的 key，把错误信息定义成value，这样我可以array_key_exists函数来检查传来的错误号是否已经定义了，定义了把错误信息返回给浏览者，没定义，返回给他未知错误。 <br />
<br />
in_array <br />
<br />
in_array()是用来检查数组中是否存在某个值（注：检查的是数组的值） php程序员站 <br />
<br />
语法：bool in_array ( mixed needle, array haystack [, bool strict] ) <div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Fri, 01 Jan 2010 13:19:09 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[mysql技巧之随机读取数据]]></title>

		 			<link>http://www.xssep.com/view-750.html</link>

					<description><![CDATA[日志详细页中的相关日志一开始采用的是相关TAG的最新10条<br />
<br />
后来发现,这样每篇日志的相关日志都是一样的,看起来很不爽<br />
<br />
查了查资料,原来mysql用 order by rand() 可以随机读取的<br />
<br />
完整sql如下: <br />
<br />
select * from table order by rand() limit 1; <br />
&nbsp;&nbsp;<br />
limit 后是随机读取的条数<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Fri, 01 Jan 2010 12:56:17 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[php中date的用法]]></title>

		 			<link>http://www.xssep.com/view-586.html</link>

					<description><![CDATA[显示的格式: 年-月-日 小时:分钟:妙 <br />
相关时间参数: <br />
a - "am" 或是 "pm" <br />
A - "AM" 或是 "PM" <br />
d - 几日，二位数字，若不足二位则前面补零; 如: "01" 至 "31" <br />
D - 星期几，三个英文字母; 如: "Fri" <br />
F - 月份，英文全名; 如: "January" <br />
h - 12 小时制的小时; 如: "01" 至 "12" <br />
H - 24 小时制的小时; 如: "00" 至 "23" <div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sat, 19 Dec 2009 01:17:05 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[基于jQuery的对象切换插件：soChange 1.2]]></title>

		 			<link>http://www.xssep.com/view-392.html</link>

					<description><![CDATA[所有参数：<div class="quote"><fieldset class="quote_fieldset"><legend class="quote_legend">以下是引用内容</legend><div class="quote_content">$(obj).soChange({ <br />
thumbObj:null, //导航对象，默认为空<br />
botLast:null, //按钮上一个，默认为空<br />
botNext:null, //按钮下一个。默认为空<br />
thumbNowClass:'now', //导航对象当前的class,默认为now<br />
slideTime:1000, //对象平滑过渡持续时间，默认为1000ms<br />
autoChange:true, //是否自动切换，默认为true<br />
clickFalse:true,//导航对象如果有链接，点击是否链接无效，即是否返回return false，默认是return false链接无效<br />
overStop:true,//鼠标经过切换对象时，切换对象是否停止切换，并于鼠标离开后重启自动切换，前提是已开启自动切换，默认开启鼠标经过对象停止切换<br />
changeTime:5000, //对象自动切换时间，默认为5000ms，即5秒<br />
delayTime:300 //鼠标经过时对象切换迟滞时间，推荐值为300ms<br />
});</div></fieldset></div><div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>不羁虫</author>

					<pubDate>Sat, 28 Nov 2009 06:43:04 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[jQuery操作select]]></title>

		 			<link>http://www.xssep.com/view-391.html</link>

					<description><![CDATA[最近使用JQuery来编写前端js脚本，涉及到依据下拉框的值确定其他下拉框中数据项。需要实现对下拉框中候选项的添加删除等，使用js写的话简直会死人的。还好使用JQuery。以下是操作 下拉列表的常用功能：<br />
<br />
1.获取列表项中候选项的数目。<br />
<br />
2.获得选中项的索引值。<br />
<br />
3.获得当前选中项的值<br />
<br />
4.设定选择值<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sat, 28 Nov 2009 06:23:20 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[打造自己的reset.css]]></title>

		 			<link>http://www.xssep.com/view-371.html</link>

					<description><![CDATA[0，引言<br />
<br />
每每有新项目，第一步就是应当使用一个reset.css来重置样式。滥用不如不用，直接拿个现成的reset.css过来将导致后期各种离奇bug的发生。<br />
<br />
所以最好还是自己写一个reset.css，并且要明白每一条 reset都是用来做什么的。<br />
<br />
reset.css本意就是重置样式，我始终建议把.clearfix放入layout.css,而把h1、h2之类的定义放进typography.css。 <br />
<br />
<br />
具体如何规划网站CSS结构，不在文本讨论之列，可以参考Smashing Magazine上的文章，国内有差强人意的中文译版。<br />
<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Thu, 19 Nov 2009 01:14:38 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[10个 DIV+CSS常见错误]]></title>

		 			<link>http://www.xssep.com/view-367.html</link>

					<description><![CDATA[<strong>1. 检查HTML元素是否有拼写错误、是否忘记结束标记</strong><br />
即使是老手也经常会弄错div的嵌套关系。可以用dreamweaver的验证功能检查一下有无错误。<br />
<strong>2. 检查CSS是否正确</strong><br />
检查一下有无拼写错误、是否忘记结尾的 } 等。可以利用CleanCSS来检查 CSS的拼写错误。CleanCSS本是为CSS减肥的工具，但也能检查出拼写错误。<br />
<strong>3. 确定错误发生的位置</strong><br />
假如错误影响了整体布局，则可以逐个删除div块，直到删除某个div块后显示恢复正常，即可确定错误发生的位置。<br />
<strong>4. 利用border属性确定出错元素的布局特性</strong><br />
使用float属性布局一不小心就会出错。这时为元素添加border属性确定元素边界，错误原因即水落石出。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sat, 14 Nov 2009 17:08:51 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[DISCUZ的PHP MYSQL操作类]]></title>

		 			<link>http://www.xssep.com/view-352.html</link>

					<description><![CDATA[<?php&nbsp; &nbsp; <br />
&nbsp; &nbsp;&nbsp;&nbsp;<br />
//include("config.php");&nbsp; &nbsp; <br />
define('db_host','localhost'); //数据库服务器&nbsp; &nbsp; <br />
define('db_user','root');&nbsp; &nbsp;&nbsp; &nbsp;//数据库用户名&nbsp; &nbsp; <br />
define('dbpw','');&nbsp; &nbsp; //数据库密码&nbsp; &nbsp; <br />
define('dbname','test');&nbsp;&nbsp;//数据库名&nbsp; &nbsp; <br />
define('dbcharset','utf8');&nbsp; &nbsp; //数据库编码,不建议修改&nbsp; &nbsp; <br />
&nbsp; &nbsp;&nbsp;&nbsp;<br />
//$db = new mysql($dbhost='', $dbuser='', $dbpw='', $dbname = 'test222', $pconnect = 0); <div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Mon, 09 Nov 2009 01:56:56 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[DD_belatedPNG,解决IE6不支持PNG绝佳方案]]></title>

		 			<link>http://www.xssep.com/view-332.html</link>

					<description><![CDATA[我们知道IE6是不支持透明的PNG的,这无疑限制了网页设计的发挥空间.<br />
然而整个互联网上解决这个IE6的透明PNG的方案也是多不胜数,从使用IE特有的滤镜或是e xpression,再到javascript+透明GIF替代.但是这些方法都有一个缺点,就是不支持CSS中backgrond-position与background-repeat.<br />
<br />
而我今天介绍DD_belatedPNG,只需要一个理由,就是它支持backgrond-position与background-repeat.这是其他js插件不具备的.同时DD_belatedPNG还支持a:hover属性,以及<img>.<br />
<br />
看Demo: http://www.ediyang.com/demo/DD_Png/<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sun, 01 Nov 2009 12:55:08 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[ini_get的用法]]></title>

		 			<link>http://www.xssep.com/view-324.html</link>

					<description><![CDATA[想必大家看到这个函数应该猜到这个函数是干什么用的了,没错她就是ini_set的姐妹函数, <br />
<br />
ini_set是改变php.ini里的设置,ini_get是获取php.ini里的环境变量的值. <br />
<br />
语法 <br />
<br />
string ini_get ( string varname ) <br />
<br />
返回值如果为布尔型则为0或1<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sat, 24 Oct 2009 07:53:19 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[php自带函数大全]]></title>

		 			<link>http://www.xssep.com/view-319.html</link>

					<description><![CDATA[Abs: 取得绝对值。<br />
Acos: 取得反余弦值。<br />
ada_afetch: 取得资料库的传回列。<br />
ada_autocommit: 开关自动更动功能。<br />
ada_close: 关闭 Adabas D 连结。<br />
ada_commit: 更动 Adabas D 资料库。<br />
ada_connect: 连结至 Adabas D 资料库。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Tue, 20 Oct 2009 01:45:52 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[MySQL的SELECT技巧大全]]></title>

		 			<link>http://www.xssep.com/view-308.html</link>

					<description><![CDATA[1、select语句可以用回车分隔<br />
$sql="select * from article where id=1"<br />
和 $sql="select * from article<br />
&nbsp;&nbsp;where id=1"，都可以得到正确的结果，但有时分开写或许能更明了一点，特别是当sql语句比较长时<br />
<br />
2、批量查询数据<br />
可以用in来实现<br />
$sql="select * from article where id in(1,3,5)"<br />
<br />
3、使用concat连接查询的结果<br />
$sql="select concat(id,"-",con) as res from article where id=1"<br />
返回"1-article content"<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sun, 18 Oct 2009 03:39:01 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[一些常用的正则表达式]]></title>

		 			<link>http://www.xssep.com/view-307.html</link>

					<description><![CDATA[正则表达式用于字符串处理、表单验证等场合，实用高效。<br />
匹配中文字符的正则表达式： [\u4e00-\u9fa5]<br />
评注：匹配中文还真是个头疼的事，有了这个表达式就好办了<br />
匹配双字节字符(包括汉字在内)：[^\x00-\xff]<br />
评注：可以用来计算字符串的长度（一个双字节字符长度计2，ASCII字符计1）<br />
匹配空白行的正则表达式：\n\s*\r<br />
评注：可以用来删除空白行<br />
匹配HTML标记的正则表达式：<(\S*?)[^>]*>.*?</\1>|<.*? /><br />
评注：网上流传的版本太糟糕，上面这个也仅仅能匹配部分，对于复杂的嵌套标记依旧无能为力<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sun, 18 Oct 2009 03:36:52 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[MySQL五个查询优化方法]]></title>

		 			<link>http://www.xssep.com/view-306.html</link>

					<description><![CDATA[熟悉SQL的人都知道，完成同一个任务，SQL可能有多种写法，但不同写法的查询性能可能会有天壤之别，本文列举出五个查询优化的方法，当然，优化的方法还有很多。　　<br />
<br />
1、优化数据类型<br />
MySQL中数据类型有多种，如果你是一名DBA，正在按照优化的原则对数据类型进行严格的检查，但开发人员可能会选择他们认为最简单的方案，以加快编码速度，或者选择最明显的选择，因此，你可能面临的都不是最佳的选择，如果可能的话，你应该尝试以通用准则来改变这些决定。&nbsp;&nbsp;IT专家网独家：MySQL存储过程调试<br />
(1)避免使用NULL<br />
NULL对于大多数数据库都需要特殊处理，MySQL也不例外，它需要更多的代码，更多的检查和特殊的索引逻辑，有些开发人员完全没有意识到，创建表时NULL是默认值，但大多数时候应该使用NOT NULL，或者使用一个特殊的值，如0，-1作为默认值。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sun, 18 Oct 2009 03:30:56 +0000</pubDate>

				</item>
	</channel>
</rss>