<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Fred Xu的技术博客_分类_SQL Server/MySQL/NoSQL</title><id>http://feed.cnblogs.com/blog/u/43880/category/188439/rss</id><updated>2012-05-27T12:41:19Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/category/188439.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/43880/category/188439/rss"/><entry><id>http://www.cnblogs.com/Fred_Xu/archive/2009/09/28/1575469.html</id><title type="text">SQL Server 2005 Express 远程访问设置【转】</title><summary type="text">SQL Server 2005 Express 作为微软数据库的低端解决方案，在开发小型应用和WEB应用中有广泛的使用。但是SQL Server 2005 Exrpress在默认安装下只允许本机访问，如何启用网络访问功能就很有必要，现在我简单的介绍一下。1、 确认成功安装SQL Server 2005 Express和 数据库服务已经启动。安装完成后，可以通过随SQL Server 2005 Express一同安装的工具 SQL Server Configuration Manager 查看数据库服务和其他的配置信息。上图显示数据库服务已经启用。2、 查看SQL Server Express </summary><published>2009-09-28T02:09:00Z</published><updated>2009-09-28T02:09:00Z</updated><author><name>Fred_Xu</name><uri>http://www.cnblogs.com/Fred_Xu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Fred_Xu/archive/2009/09/28/1575469.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/archive/2009/09/28/1575469.html"/><content type="text">SQL Server 2005 Express 作为微软数据库的低端解决方案，在开发小型应用和WEB应用中有广泛的使用。但是SQL Server 2005 Exrpress在默认安装下只允许本机访问，如何启用网络访问功能就很有必要，现在我简单的介绍一下。1、 确认成功安装SQL Server 2005 Express和 数据库服务已经启动。安装完成后，可以通过随SQL Server 2005 Express一同安装的工具 SQL Server Configuration Manager 查看数据库服务和其他的配置信息。上图显示数据库服务已经启用。2、 查看SQL Server Express </content></entry><entry><id>http://www.cnblogs.com/Fred_Xu/archive/2009/09/14/1566152.html</id><title type="text">Convert Datetime to String in Sql Server (转)</title><summary type="text">0Feb 22 2006 4:26PMCONVERT(CHAR(19), CURRENT_TIMESTAMP, 0)102/22/06CONVERT(CHAR(8), CURRENT_TIMESTAMP, 1)206.02.22CONVERT(CHAR(8), CURRENT_TIMESTAMP, 2)322/02/06CONVERT(CHAR(8), CURRENT_TIMESTAMP, 3)4...</summary><published>2009-09-14T02:08:00Z</published><updated>2009-09-14T02:08:00Z</updated><author><name>Fred_Xu</name><uri>http://www.cnblogs.com/Fred_Xu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Fred_Xu/archive/2009/09/14/1566152.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/archive/2009/09/14/1566152.html"/><content type="text">0Feb 22 2006 4:26PMCONVERT(CHAR(19), CURRENT_TIMESTAMP, 0)102/22/06CONVERT(CHAR(8), CURRENT_TIMESTAMP, 1)206.02.22CONVERT(CHAR(8), CURRENT_TIMESTAMP, 2)322/02/06CONVERT(CHAR(8), CURRENT_TIMESTAMP, 3)4...</content></entry><entry><id>http://www.cnblogs.com/Fred_Xu/archive/2009/07/24/1530313.html</id><title type="text">如何解决SQL Server主键和自动编号问题</title><summary type="text">数据库主键在数据库中占有重要地位。主键的选取策略决定了系统是否高效、易用。本文比较了四种主键选取策略的优缺点，并提供了相应的代码解决方案，希望对大家有所帮助。所谓主键就是能够唯一标识表中某一行的属性或属性组，一个表只能有一个主键，但可以有多个候选索引。因为主键可以唯一标识某一行记录，所以可以确保执行数据更新、删除的时候不会出现张冠李戴的错误。当然，其它字段可以辅助我们在执行这些操作时消除共享...</summary><published>2009-07-24T08:26:00Z</published><updated>2009-07-24T08:26:00Z</updated><author><name>Fred_Xu</name><uri>http://www.cnblogs.com/Fred_Xu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Fred_Xu/archive/2009/07/24/1530313.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/archive/2009/07/24/1530313.html"/><content type="text">数据库主键在数据库中占有重要地位。主键的选取策略决定了系统是否高效、易用。本文比较了四种主键选取策略的优缺点，并提供了相应的代码解决方案，希望对大家有所帮助。所谓主键就是能够唯一标识表中某一行的属性或属性组，一个表只能有一个主键，但可以有多个候选索引。因为主键可以唯一标识某一行记录，所以可以确保执行数据更新、删除的时候不会出现张冠李戴的错误。当然，其它字段可以辅助我们在执行这些操作时消除共享...</content></entry><entry><id>http://www.cnblogs.com/Fred_Xu/archive/2009/07/14/1523189.html</id><title type="text">多表查询视图显示外键为空的字段</title><summary type="text">项目中遇到的一个问题：A、B表有主外键关系，假设B表的BID是A表AID的外键，如果B表有记录的BID是空的话，单查B表是能查出这两条记录，可查A、B表连接后的视图的时候，由于BID和AID是主外键关系，BID为空的时候，记录就不显示了。现在要实现无论字段是不是NULL，都要查询出来，并在GridView中显示。视图查询器默认的是用的INNER JOIN 所以这种模式是无法显示出来的，应该用LEF...</summary><published>2009-07-14T05:29:00Z</published><updated>2009-07-14T05:29:00Z</updated><author><name>Fred_Xu</name><uri>http://www.cnblogs.com/Fred_Xu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Fred_Xu/archive/2009/07/14/1523189.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/archive/2009/07/14/1523189.html"/><content type="text">项目中遇到的一个问题：A、B表有主外键关系，假设B表的BID是A表AID的外键，如果B表有记录的BID是空的话，单查B表是能查出这两条记录，可查A、B表连接后的视图的时候，由于BID和AID是主外键关系，BID为空的时候，记录就不显示了。现在要实现无论字段是不是NULL，都要查询出来，并在GridView中显示。视图查询器默认的是用的INNER JOIN 所以这种模式是无法显示出来的，应该用LEF...</content></entry><entry><id>http://www.cnblogs.com/Fred_Xu/archive/2009/04/05/1446745.html</id><title type="text">修改SQL Server 2005 sa用户密码的方法</title><summary type="text"/><published>2009-04-05T01:41:00Z</published><updated>2009-04-05T01:41:00Z</updated><author><name>Fred_Xu</name><uri>http://www.cnblogs.com/Fred_Xu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Fred_Xu/archive/2009/04/05/1446745.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/archive/2009/04/05/1446745.html"/><content type="text"/></entry></feed>
