<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>夜的第七章 - ASP.NET、C#、.NET、Web开发 - 数据库</title><link>http://www.leadnt.com/</link><description>go on,go on - </description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 81206</generator><language>zh-CN</language><copyright>&amp;amp;copy;2007 - 2010 www.leadnt.com 保留一些权利吧</copyright><pubDate>Sun, 01 Aug 2010 16:44:23 +0800</pubDate><item><title>推荐一个SQL智能提示插件SQLAssistant，比SQL Prompt好</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/472.html</link><pubDate>Wed, 14 Jul 2010 10:56:34 +0800</pubDate><guid>http://www.leadnt.com/DataBase/472.html</guid><description><![CDATA[<p>貌似支持Mysql,Oracle plsql?</p><p>感觉比Sql Prompt速度快。</p><p><img style="width: 444px; height: 340px" alt="" src="http://www.leadnt.com/upload/201007141100254178.jpg" /></p>]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/472.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=472</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=472&amp;key=91e3f10a</trackback:ping></item><item><title>3个SQL视图搞定所有SqlServer数据库字典</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/471.html</link><pubDate>Fri, 09 Jul 2010 21:48:09 +0800</pubDate><guid>http://www.leadnt.com/DataBase/471.html</guid><description><![CDATA[<p><br /><font face="Courier New">1. SqlServer2000数据库字典--表结构.sql<br /></font></p><div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><img alt="" align="top" src="http://www.leadnt.com/upload/201007092150101556.gif" /><span style="color: #0000ff">SELECT</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">TOP</span><span style="color: #000000">&nbsp;</span><span style="color: #800000; font-weight: bold">100</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">PERCENT</span><span style="color: #000000">&nbsp;</span><span style="color: #008080">--</span><span style="color: #008080">a.id,&nbsp;</span><span style="color: #008080"><br />...</div></span>]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/471.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=471</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=471&amp;key=1ab434b3</trackback:ping></item><item><title>NoSQL数据库mongodb备注</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/458.html</link><pubDate>Fri, 21 May 2010 16:49:07 +0800</pubDate><guid>http://www.leadnt.com/DataBase/458.html</guid><description><![CDATA[<p>下载：</p><p>http://www.mongodb.org/display/DOCS/Downloads</p><p>.net类库：</p><p>http://github.com/samus/mongodb-csharp</p>]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/458.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=458</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=458&amp;key=5b2283c3</trackback:ping></item><item><title>数据库同步复制技术(转)</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/441.html</link><pubDate>Wed, 03 Mar 2010 09:23:49 +0800</pubDate><guid>http://www.leadnt.com/DataBase/441.html</guid><description><![CDATA[<p>做之前,首先要了解一下涉及到的概念:</p><p>1.复制概念:</p><p><span style="font-family: Verdana">Microsoft? SQL Server? 2000 的复制是在数据库之间对数据和数据库对象进行复制和分发并进行同步以确保其一致性的一组技术。</span><span style="font-family: Verdana">使用复制可以将数据分发到不同位置，通过局域网、使用拨号连接、通过 Internet 分发给远程或移动用户。复制还能够使用户提高应用程序性能，根据数据的使用方式物理分隔数据（例如，将联机事务处理 (OLTP) 和决策支持系统分开），或者跨越多个服务器分布数据库处理。</span></p>...]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/441.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=441</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=441&amp;key=66047122</trackback:ping></item><item><title>SQL server操作备忘（转）</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/440.html</link><pubDate>Mon, 01 Mar 2010 14:28:10 +0800</pubDate><guid>http://www.leadnt.com/DataBase/440.html</guid><description><![CDATA[[code=csharp]<br/>创建一个数据库（库名：学生库）并设置两个数据文件和两个日志文件<br/><br/>create database 学生库<br/><br/>on primary<br/><br/>( name=学生_data1, filename='e:\学生_data1.mdf', size=1mb, maxsize=3mb,filegrowth=1mb ),<br/><br/>( name=学生_data2, filename='e:\学生_data2.ndf', size=1mb, maxsize=3mb, filegrowth=10% )<br/>...]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/440.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=440</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=440&amp;key=a3214394</trackback:ping></item><item><title>记下这个面试题,sql查询不重复记录</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/379.html</link><pubDate>Fri, 12 Jun 2009 21:32:15 +0800</pubDate><guid>http://www.leadnt.com/DataBase/379.html</guid><description><![CDATA[<p>今天学习到一句话:该学的东西不要等公司用才去学,自己的职业是靠自己规划的.</p><p>用max,min top 1 貌似都可以实现&hellip;反正取出一条就OK了.</p><p>SELECT&nbsp;&nbsp;&nbsp;&nbsp; Id, Name<br />FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A AS a<br />WHERE&nbsp;&nbsp;&nbsp;&nbsp; (Id =<br />...</p>]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/379.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=379</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=379&amp;key=c2c62a91</trackback:ping></item><item><title>SQL2005权限设置</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/365.html</link><pubDate>Sat, 28 Mar 2009 21:43:34 +0800</pubDate><guid>http://www.leadnt.com/DataBase/365.html</guid><description><![CDATA[<p><span style="color: #0000ff">USE</span><span style="color: #000000"> master<br /></span><span style="color: #0000ff">GO</span><span style="color: #000000"><br /><br /></span><span style="color: #008080">--</span><span style="color: #008080">创建一个登录</span><span style="color: #008080"><br />...</p></span>]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/365.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=365</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=365&amp;key=cb71e59e</trackback:ping></item><item><title>SQL Server 分页存储过程[转]</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/359.html</link><pubDate>Wed, 04 Mar 2009 12:55:55 +0800</pubDate><guid>http://www.leadnt.com/DataBase/359.html</guid><description><![CDATA[<p>在项目中，我们经常遇到或用到分页，那么在大数据量（百万级以上）下，哪种分页算法效率最优呢？我们不妨用事实说话。</p><p>测试环境</p><p>硬件：CPU 酷睿双核T5750</p><p>内存：2G</p><p>软件:Windows server 2003 + Sql server 2005</p>]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/359.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=359</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=359&amp;key=9ea58855</trackback:ping></item><item><title>SQL Server中利用SET ROWCOUNT来高性能地进行分页</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/357.html</link><pubDate>Mon, 23 Feb 2009 12:11:34 +0800</pubDate><guid>http://www.leadnt.com/DataBase/357.html</guid><description><![CDATA[[code=mysql]<br/>      SQL Server中有一个Set Rowcount的的设置，它的意思是使命令的处理在响应指定的行数之后停止处理命令，利用这个特点，我们可以借用它来在一个千万行级数据表中实现高性能分页查询。先来说说实现方式：<br/>      1、我们来假定Table中有一个已经建立了索引的主键字段ID（整数型），我们将按照这个字段来取数据进行分页。<br/>      2、页的大小我们放在@PageSize中<br/>      3、当前页号我们放在@CurrentPage中<br/>      4、如何让记录指针快速滚动到我们要取的数据开头的那一行呢，这是关键所在！有了Set RowCount，我们就很容易实现了。<br/>...]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/357.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=357</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=357&amp;key=910db251</trackback:ping></item><item><title>在MySQL中执行SQL文件</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/DataBase/355.html</link><pubDate>Wed, 18 Feb 2009 14:58:20 +0800</pubDate><guid>http://www.leadnt.com/DataBase/355.html</guid><description><![CDATA[在程序初始化时一般会把要执行的SQL语句放到一个SQL文件，在程序安装时自动执行，其实就是批处理执行SQL命令。同样，可以手动执行sql文件，具体步骤如下：<br/>       1、使用root帐户登录到MySQL服务器；<br/>       2、执行source命令：<br/>        mysql> source c:/test.sql<br/>        注意：文件路径中建议使用“/”，如果使用“\”，要首先进行转义即“\\”，否则可能会出现错误。<br/><br/>       另外还有一个load命令可以批量插入数据，但是这个对文件中数据格式的要求比较严格，否则容易出现错误，很少使用。...]]></description><category>数据库</category><comments>http://www.leadnt.com/DataBase/355.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=355</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=355&amp;key=976c0fc8</trackback:ping></item></channel></rss>
