<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_软件是一门科学，更是一门艺术</title><subtitle type="text">    稳中求进</subtitle><id>http://feed.cnblogs.com/blog/u/17556/rss</id><updated>2011-11-16T13:53:08Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/17556/rss"/><entry><id>http://www.cnblogs.com/ryb/archive/2011/11/16/2251876.html</id><title type="text">SQL server2000数据库备份和还原语句</title><summary type="text">注意:还原数据库时，不能使用要被还原的数据库(andyny) ，如使用企业管理器正在使用被还原的数据库，不能有对被还原的数据库（andyny）有任何操作，如程序运行sql语句正在操作被还原的数据库.否则报错:conn.execute(&amp;quot;restore database docdata from disk=f:\database.bak&amp;quot;) 对不起，还原备份系统数据失败！[microsoft][odbc sql server driver][sql server]因为数据库正在使用，所以未能获得对数据库的排它访问权。备份数据库，例如：BACKUP DATABASE North</summary><published>2011-11-16T13:53:00Z</published><updated>2011-11-16T13:53:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/11/16/2251876.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/11/16/2251876.html"/><content type="html">&lt;div style="display: inline-block; "&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span  style="color: #323e32; font-family: simsun; background-color: #83ca9a; "&gt;&lt;div&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#0000FF" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #80ffff; "&gt;注意:&lt;/font&gt;&amp;nbsp;&lt;font color="#FF00FF" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;还原数据库时，不能使用要被还原的数据库(andyny) ，如使用企业管理器正在使用被还原的数据库，不能有对被还原的数据库（andyny）有任何操作，如程序运行sql语句正在操作被还原的数据库.&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#00FF40" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #0000ff; "&gt;&amp;nbsp;&lt;wbr&gt;否则报错:&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;conn.execute("restore &amp;nbsp;&lt;wbr&gt;&amp;nbsp;database &amp;nbsp;&lt;wbr&gt;&amp;nbsp;docdata &amp;nbsp;&lt;wbr&gt;&amp;nbsp;from &amp;nbsp;&lt;wbr&gt;&amp;nbsp;disk=f:\database.bak") &amp;nbsp;&lt;wbr&gt;&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;对不起，还原备份系统数据失败！[microsoft][odbc &amp;nbsp;&lt;wbr&gt;&amp;nbsp;sql &amp;nbsp;&lt;wbr&gt;&amp;nbsp;server &amp;nbsp;&lt;wbr&gt;&amp;nbsp;driver][sql &amp;nbsp;&lt;wbr&gt;&amp;nbsp;server]因为数据库正在使用，所以未能获得对数据库的排它访问权。&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;wbr&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;wbr&gt;&lt;/div&gt;&lt;div&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#0000FF" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #80ffff; "&gt;备份数据库，例如：&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;BACKUP DATABASE Northwind&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;TO DISK = 'c:\Northwind.bak'&lt;br /&gt;&lt;br /&gt;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#0000FF" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #80ffff; "&gt;还原数据库，例如：&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;--返回由备份集内包含的数据库和日志文件列表组成的结果集&lt;/font&gt;&lt;br /&gt;RESTORE FILELISTONLY&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;FROM DISK = 'c:\Northwind.bak'&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;--还原由BACKUP备份的数据库&lt;/font&gt;&lt;br /&gt;RESTORE DATABASE Northwind&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;FROM DISK = 'c:\Northwind.bak'&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;--指定还原后的数据库物理文件名称及路径&lt;/font&gt;&lt;br /&gt;RESTORE DATABASE TestDB&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;FROM DISK = 'c:\Northwind.bak'&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;WITH&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;MOVE 'Northwind' TO 'c:\test\testdb.mdf',&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;MOVE 'Northwind_log' TO 'c:\test\testdb.ldf'&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;MOVE 'logical_file_name' TO 'operating_system_file_name'&lt;br /&gt;指定应将给定的 logical_file_name 移到 operating_system_file_name。&lt;br /&gt;默认情况下，logical_file_name 将还原到其原始位置。如果使用 RESTORE&lt;br /&gt;语句将数据库复制到相同或不同的服务器上，则可能需要使用 MOVE 选项重&lt;br /&gt;新定位数据库文件以避免与现有文件冲突。可以在不同的 MOVE 语句中指定&lt;br /&gt;数据库内的每个逻辑文件。&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;--强制还原，加上&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;REPLACE&lt;/font&gt;参数，则在现有数据库基础上强制还原。&lt;/font&gt;&lt;br /&gt;RESTORE DATABASE TestDB&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;FROM DISK = 'c:\Northwind.bak'&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;WITH&lt;/font&gt;&amp;nbsp;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;REPLACE,&lt;/font&gt;&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;MOVE 'Northwind' TO 'c:\test\testdb.mdf',&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;MOVE 'Northwind_log' TO 'c:\test\testdb.ldf'&amp;nbsp;&lt;wbr&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;wbr&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;wbr&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#0000FF" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #80ffff; "&gt;/////////////// 示例代码摘录///////////////&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;font face="宋体" style="word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;CNN cn = new CNN();&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;String sqlStr = "select * from db where stu_id=1";&lt;/font&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;//String s="BACKUP DATABASE DB TO DISK =&amp;nbsp;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#0000FF" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #ff00ff; "&gt;'c:/DB.bak'";&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#0000FF" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #80ffff; "&gt;// 注意语法,'字符串'......&lt;br /&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;// String s="BACKUP DATABASE&amp;nbsp;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#0000FF" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #ffff80; "&gt;andyny&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;TO DISK ='c:/andyny.bak'";&lt;br /&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;String ss="RESTORE Database&amp;nbsp;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #ffff80; "&gt;andyny&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;from disk='c:/andyny.bak'";&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&lt;strong style="font-weight: bold; "&gt;&lt;font color="#FF0000" style="word-wrap: normal; word-break: normal; line-height: 21px; background-color: #ffff80; "&gt;&amp;nbsp;&lt;wbr&gt;// andyny 是被还原，备份的数据库名....&lt;br /&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;&amp;nbsp;&lt;wbr&gt;boolean b=cn.backAndRestoreUpDB(ss);&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2251876.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/11/16/2251876.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/11/07/2239289.html</id><title type="text">SQL Server 2008 下载地址(微软官方网站)</title><summary type="text">哪里有sqlserver2008下载？2011-9-24 23:58提问者：ooseestars|浏览次数：3252次2011-9-26 11:38最佳答案SQL Server 2008 下载地址(微软官方网站) 中文版(3.28GB)：http://sqlserver.dlservice.microsoft.com/dl/download/B/8/0/B808AF59-7619-4A71-A447-F597DE74AC44/SQLFULL_CHS.iso 英文版(3.03GB)：http://sqlserver.dlservice.microsoft.com/dl/download/9/C.</summary><published>2011-11-07T07:18:00Z</published><updated>2011-11-07T07:18:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/11/07/2239289.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/11/07/2239289.html"/><content type="html">&lt;div&gt;&lt;span style="font-family: arial, 宋体, sans-serif; line-height: 24px; "&gt;&lt;div mb10=""  qbox"="" id="question-box" style="margin-bottom: 10px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #fcfefc; border-top-color: #4cbe00; border-right-color: #e3e3e3; border-bottom-color: #e3e3e3; border-left-color: #e3e3e3; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 2px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; zoom: 1; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;div style="padding-top: 10px; padding-right: 24px; padding-bottom: 10px; padding-left: 24px; position: relative; zoom: 1; margin-top: -64px; "&gt;&lt;div clf"="" style="zoom: 1; clear: both; "&gt;&lt;div&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="position: relative; top: 0px; left: 26px; zoom: 1; display: block; margin-right: 25px; overflow-x: hidden; overflow-y: hidden; word-break: break-all; "&gt;哪里有sqlserver2008下载？&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="font-size: 12px; line-height: 22px; color: #666666; font-family: tahoma; vertical-align: middle; margin-top: 2px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;div style="float: right; "&gt;&lt;span style="color: #666666; "&gt;2011-9-24 23:58&lt;/span&gt;&lt;/div&gt;&lt;span style="color: #666666; "&gt;提问者：&lt;a log="qbox.asker.username" href="http://passport.baidu.com/?business&amp;amp;aid=6&amp;amp;un=ooseestars#2" target="_blank" uid="a69c6f6f73656573746172738c07" uname="ooseestars" style="text-decoration: none; vertical-align: baseline; color: #133db6; "&gt;ooseestars&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #c1c1c1; margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; "&gt;|&lt;/span&gt;&amp;nbsp;浏览次数：3252次&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="question-content"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div mb10=""  best-answer-panel"="" id="best-answer-panel" style="margin-bottom: 10px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #fffcf6; padding-top: 0px; position: relative; zoom: 1; z-index: 100; "&gt;&lt;div style="padding-left: 24px; background-image: url(http://img.baidu.com/img/iknow/qb/qb-bg.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; height: 52px; overflow-x: hidden; overflow-y: hidden; margin-bottom: -10px; background-position: 0px -110px; background-repeat: repeat no-repeat; "&gt;&lt;div details=""  float-r"="" style="font-size: 12px; line-height: 22px; color: #666666; font-family: tahoma; vertical-align: middle; float: right; margin-right: 24px; margin-top: 16px; "&gt;2011-9-26 11:38&lt;/div&gt;&lt;span ml10=""  bold"="" style="font-weight: bold; margin-left: 10px; float: left; margin-top: 7px; font-size: 15px; font-family: 微软雅黑; "&gt;最佳答案&lt;/span&gt;&lt;/div&gt;&lt;div style="padding-top: 0px; padding-right: 24px; padding-bottom: 10px; padding-left: 24px; position: relative; z-index: 2; clear: both; zoom: 1; "&gt;&lt;div style="zoom: 1; "&gt;&lt;pre id="best-answer-content"  mb10"="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial; white-space: pre-wrap; word-wrap: break-word; zoom: 1; line-height: 22px; "&gt;SQL Server 2008 下载地址(微软官方网站) 中文版(3.28GB)：&lt;a href="http://sqlserver.dlservice.microsoft.com/dl/download/B/8/0/B808AF59-7619-4A71-A447-F597DE74AC44/SQLFULL_CHS.iso" target="_blank" style="text-decoration: underline; vertical-align: baseline; color: #133db6; "&gt;http://sqlserver.dlservice.microsoft.com/dl/download/B/8/0/B808AF59-7619-4A71-A447-F597DE74AC44/SQLFULL_CHS.iso&lt;/a&gt;  英文版(3.03GB)：&lt;a href="http://sqlserver.dlservice.microsoft.com/dl/download/9/C/0/9C036510-3218-4258-8B03-67DC1D6A497C/SQLFULL_ENU.iso" target="_blank" style="text-decoration: none; vertical-align: baseline; color: #133db6; "&gt;http://sqlserver.dlservice.microsoft.com/dl/download/9/C/0/9C036510-3218-4258-8B03-67DC1D6A497C/SQLFULL_ENU.iso&lt;/a&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2239289.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/11/07/2239289.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/08/31/2160267.html</id><title type="text">福州 Flex 瑞研QQ群：138571223 RIADEV-福州</title><summary type="text">福州 Flex 瑞研QQ群：138571223 RIADEV-福州技术交流，欢迎加入！</summary><published>2011-08-31T00:35:00Z</published><updated>2011-08-31T00:35:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/08/31/2160267.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/08/31/2160267.html"/><content type="html">&lt;div&gt;福州 Flex 瑞研QQ群：138571223 RIADEV-福州&lt;/div&gt;&lt;p&gt;技术交流，欢迎加入！&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2160267.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/08/31/2160267.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/08/26/2154110.html</id><title type="text">please verify the preference field with the prompt:Tomcat JDK name</title><summary type="text">使用MyEclipse的Tomcat的时候出现下面的问题： a configuration error occurred during startup. please verify the preference field with the prompt:Tomcat JDK name；? 环境变量也设了，怎么还是不行？之前单独启动tomcat都可以，求高手指点！！！ 解决办法：在Eclipse的菜单找到Window-〉Preferences 点击后在弹出窗口的左半部分找到Tomcat，然后在它的子项里找到JVMSetting，点击它，然后在右边的详细内容里吧JRE这个下拉菜单里选上你的...</summary><published>2011-08-26T02:21:00Z</published><updated>2011-08-26T02:21:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/08/26/2154110.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/08/26/2154110.html"/><content type="html">&lt;div&gt;&lt;div&gt; &lt;p style="text-indent: 2em" align="left"&gt;使用MyEclipse的&lt;span id="1_1"&gt;Tomcat&lt;/span&gt;的时候出现下面的问题： a configuration error  occurred during startup. &lt;br /&gt;please verify the preference field with the  prompt:&lt;span id="1_2"&gt;Tomcat&lt;/span&gt; JDK name；?&lt;/p&gt; &lt;p style="text-indent: 2em" align="left"&gt;环境变量也设了，怎么还是不行？之前单独启动&lt;span id="1_3"&gt;tomcat&lt;/span&gt;都可以，求高手指点！！！&lt;/p&gt; &lt;p style="text-indent: 2em" align="left"&gt;&lt;br /&gt;解决办法：在Eclipse的菜单找到Window-〉Preferences 点击后在弹出窗口的左半部分找到&lt;span id="1_4"&gt;Tomcat&lt;/span&gt;，然后在它的子项里找到JVMSetting，点击它，然后在右边的详细内容里吧JRE这个下拉菜单里选上你的JDK版本。OK了。&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2154110.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/08/26/2154110.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/08/25/2152741.html</id><title type="text">flex论坛</title><summary type="text">推荐flex论坛http://bbs.airia.cn/?fromuid=137292</summary><published>2011-08-25T00:36:00Z</published><updated>2011-08-25T00:36:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/08/25/2152741.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/08/25/2152741.html"/><content type="html">&lt;div&gt;推荐flex论坛&amp;nbsp;&lt;/div&gt;&lt;p&gt;http://bbs.airia.cn/?fromuid=137292&lt;/p&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2152741.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/08/25/2152741.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/08/22/2148969.html</id><title type="text">使用SQL Server 2008提供的表分区向导</title><summary type="text">表分区（Partition Table)是自从SQL Server 2005就开始提供的功能，解决的问题是大型表的存储和查询。 我们之前大致的语法是这样的--　=========================　--　演示：陈希章　--　如何创建分区函数　--　如何创建分区架构　--　如何创建分区表　--=========================　alter　database　adventureWorks　add　filegroup　[fg1]　go　alter　database　adventureWorks　add　filegroup　[fg2]　go　alter　data...</summary><published>2011-08-22T02:27:00Z</published><updated>2011-08-22T02:27:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/08/22/2148969.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/08/22/2148969.html"/><content type="html">&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;表分区（Partition Table)是自从SQL Server 2005就开始提供的功能，解决的问题是大型表的存储和查询。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/1.png" width="220" height="169" /&gt;&lt;img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/2.png" width="231" height="169" /&gt; &lt;img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/3.png" width="231" height="169" /&gt; &lt;/p&gt;&#xD;
&lt;p&gt;&lt;img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/4.png" width="231" height="169" /&gt; &lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;我们之前大致的语法是这样的&lt;/p&gt;&#xD;
&lt;p&gt;&lt;pre&gt;--　=========================　&lt;br /&gt;--　演示：陈希章　&lt;br /&gt;--　如何创建分区函数　&lt;br /&gt;--　如何创建分区架构　&lt;br /&gt;--　如何创建分区表　&lt;br /&gt;--=========================　&lt;br /&gt;alter　database　adventureWorks　add　filegroup　[fg1]　&lt;br /&gt;go　&lt;br /&gt;alter　database　adventureWorks　add　filegroup　[fg2]　&lt;br /&gt;go　&lt;br /&gt;alter　database　adventureWorks　add　filegroup　[fg3]　&lt;br /&gt;go　&lt;br /&gt;alter　database　adventureWorks　&lt;br /&gt;add　file　&lt;br /&gt;(name='fg1',　&lt;br /&gt;filename='c:\fg1.ndf',　&lt;br /&gt;size=5mb)　&lt;br /&gt;to　filegroup　[fg1]　&lt;br /&gt;go　&lt;br /&gt;alter　database　adventureWorks　&lt;br /&gt;add　file　&lt;br /&gt;(name='fg2',　&lt;br /&gt;filename='d:\fg2.ndf',　&lt;br /&gt;size=5mb)　&lt;br /&gt;to　filegroup　[fg2]　&lt;br /&gt;go　&lt;br /&gt;alter　database　adventureWorks　&lt;br /&gt;add　file　&lt;br /&gt;(name='fg3',　&lt;br /&gt;filename='e:\fg3.ndf',　&lt;br /&gt;size=5mb)　&lt;br /&gt;to　filegroup　[fg3]　&lt;br /&gt;go　&lt;br /&gt;use　adventureWorks　&lt;br /&gt;go　&lt;br /&gt;Create　partition　function　emailPF(nvarchar(50))　as　range　right　for　values　('G','N')--创建分区函数　&lt;br /&gt;go　&lt;br /&gt;Create　partition　scheme　emailPS　as　partition　emailPF　to　(fg1,fg2,fg3)--创建分区方案　&lt;br /&gt;go　&lt;br /&gt;Create　table　customermail　(custid　int,　email　nvarchar(50))　on　emailPS(email)--创建分区表　&lt;br /&gt;Go　&lt;/pre&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;为了简化操作，SQL Server 2008中为表分区提供了相关的操作&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 562px; height: 412px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/5.png" width="562" height="412" /&gt;&amp;nbsp;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 566px; height: 415px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/6.png" width="566" height="415" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 570px; height: 418px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/7.png" width="570" height="418" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 574px; height: 421px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/8.png" width="574" height="421" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 571px; height: 418px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/9.png" width="571" height="418" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 568px; height: 416px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/10.png" width="568" height="416" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 565px; height: 414px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/11.png" width="565" height="414" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img style="width: 558px; height: 409px" border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/ryb/12.png" width="558" height="409" /&gt; &lt;/p&gt;&#xD;
&lt;p&gt;最后生成的脚本是这样的 &lt;/p&gt;&#xD;
&lt;p&gt;&lt;pre&gt;USE　[demo]&lt;br /&gt;GO&lt;br /&gt;BEGIN　TRANSACTION&lt;br /&gt;CREATE　PARTITION　FUNCTION　[ordersfunction](date)　AS　RANGE　LEFT　FOR　VALUES　(N'2008-01-01',　N'2008-02-01',　N'2008-03-01')　&lt;br /&gt;CREATE　PARTITION　SCHEME　[ordersscheme]　AS　PARTITION　[ordersfunction]　TO　([PRIMARY],　[PRIMARY],　[PRIMARY],　[PRIMARY])　&lt;br /&gt;CREATE　CLUSTERED　INDEX　[ClusteredIndex_on_ordersscheme_633765890752500000]　ON　[dbo].[Orders]　&lt;br /&gt;(&lt;br /&gt;　　　　[OrderDate]&lt;br /&gt;)WITH　(SORT_IN_TEMPDB　=　OFF,　IGNORE_DUP_KEY　=　OFF,　DROP_EXISTING　=　OFF,　ONLINE　=　OFF)　ON　[ordersscheme]([OrderDate])　&lt;br /&gt;DROP　INDEX　[ClusteredIndex_on_ordersscheme_633765890752500000]　ON　[dbo].[Orders]　WITH　(　ONLINE　=　OFF　)　&lt;br /&gt;COMMIT　TRANSACTION　&lt;/pre&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2148969.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/08/22/2148969.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/07/13/2105806.html</id><title type="text">Flex打印</title><summary type="text">本文来自：http://www.insideria.com/2009/07/printing-with-Flex.html 打印实际上不是Flex的强项。你是否试过打印复杂的文档？报告是不是看上去总是那么模糊，很费墨？为了用Flex打印高质量的报告，我想要克服以下几个主要问题：&amp;#183;打印输出基本上是大图像，需要花费很长时间打印；&amp;#183;打印输出看上去模糊，不够高质量的文档；&amp;#183;文本内嵌在图像里，非使用打印机或OS自带的字体打印出的；&amp;#183;如果打印成PDF文件，不可能突出文本；&amp;#183;如果是动态尺寸。或页边空白，页面尺寸或跨多页文档，很难打印格式化表格。到目前为止，我</summary><published>2011-07-13T15:43:00Z</published><updated>2011-07-13T15:43:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/07/13/2105806.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/07/13/2105806.html"/><content type="html">&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 7.9pt; padding-bottom: 0pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;本文来自：&lt;span&gt;&lt;a href="http://www.insideria.com/2009/07/printing-with-flex.html"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;http://www.insideria.com/2009/07/printing-with-&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 7.9pt; padding-bottom: 0pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;打印实际上不是&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;的强项。你是否试过打印复杂的文档？报告是不是看上去总是那么模糊，很费墨？&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 7.9pt; padding-bottom: 0pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;为了用&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;打印高质量的报告，我想要克服以下几个主要问题：&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;&amp;#183;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;打印输出基本上是大图像，需要花费很长时间打印；&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;&amp;#183;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;打印输出看上去模糊，不够高质量的文档；&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;&amp;#183;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;文本内嵌在图像里，非使用打印机或OS自带的字体打印出的；&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;&amp;#183;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;如果打印成PDF文件，不可能突出文本；&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;&amp;#183;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;如果是动态尺寸。或页边空白，页面尺寸或跨多页文档，很难打印格式化表格。&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 7.9pt; padding-bottom: 0pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;到目前为止，我找到了一些针对在&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;里打印的解决方案：&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;1&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;具有上述问题的本地打印&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;2&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;基于JasperReports的打印&lt;/span&gt;&lt;span&gt;&lt;a href="http://flex.org/software/component/xviewer"&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;http://&lt;/span&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;.org/software/component/xviewer&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;3&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Report:&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a href="http://flexreport.riaforge.org/"&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;http://&lt;/span&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;report.riaforge.org&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 0pt; padding-bottom: 0pt; margin-left: 18pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: 'Symbol'; mso-spacerun: 'yes'"&gt;4&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;AlivePDF:&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a href="http://code.google.com/p/alivepdf"&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;http://code.google.com/p/alivepdf&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 7.9pt; padding-bottom: 0pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;我必须承认在使用了它们之后我有了些偏见，我最喜欢AlivePDF，这是我第一次遇到一个工具能解决我上面所提到的所有问题。&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Report也很棒，但是在打印大型图像时，文本仍然模糊。基于JasperReports的打印似乎没有得到多少支持，它要求大量的后端基础设施。&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="padding-right: 0pt; margin-top: 0pt; padding-left: 0pt; margin-bottom: 7.9pt; padding-bottom: 0pt; padding-top: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;然后，AlivePDF就可以很好地生成PDF文件。打印一下子就快捷起来，报告也和你期待的一样。你可以在PDF里选择文本－你基本上会享受到PDF的所有优点。最棒的是，有无数的出色范例在这里，它也是完全免费的喔。&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p  style="margin-top: 0pt; margin-bottom: 0pt"&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;最后，说明下，我们现在正将AlivePDF融合到&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&amp;nbsp;商业框架中（参见&lt;/span&gt;&lt;span&gt;&lt;a href="http://www.comparatio.com/"&gt;&lt;span style="font-size: 10.5pt; color: #0077dd; font-family: '宋体'; mso-spacerun: 'yes'"&gt;www.comparatio.com&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;&amp;nbsp;)。打印订单确认，发票或者其它&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;Flex&lt;/span&gt;&lt;span style="font-size: 10.5pt; font-family: '宋体'; mso-spacerun: 'yes'"&gt;上的文档不会再让你皱眉啦。&lt;/span&gt;&lt;/p&gt;&lt;!--EndFragment--&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2105806.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/07/13/2105806.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/04/14/2015669.html</id><title type="text">Microsoft Visual Studio 2010 旗舰版下载地址</title><summary type="text">Microsoft Visual Studio 2010 旗舰版试用 - ISO 下载地址：http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=06A32B1C-80E9-41DF-BA0C-79D56CB823F7&amp;amp;displaylang=zh-cnVisual Studio 2010 Ultimate 官方试用版内置序列号：[Product Key]YR3W8-FCM2B-7BKF9-HMQFT-CH7WKSN:YCFHQ-9DWCY-DKV88-T2TMH-G7BHP</summary><published>2011-04-14T02:02:00Z</published><updated>2011-04-14T02:02:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/04/14/2015669.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/04/14/2015669.html"/><content type="html">&lt;div&gt;&amp;nbsp;Microsoft Visual Studio 2010 旗舰版试用 - ISO 下载地址：&lt;/div&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=06A32B1C-80E9-41DF-BA0C-79D56CB823F7&amp;amp;displaylang=zh-cn" title="http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=06A32B1C-80E9-41DF-BA0C-79D56CB823F7&amp;amp;displaylang=zh-cn"&gt;http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=06A32B1C-80E9-41DF-BA0C-79D56CB823F7&amp;amp;displaylang=zh-cn&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;Visual Studio 2010 Ultimate 官方试用版内置序列号：&lt;br _extended="true" /&gt;[Product Key]&lt;/div&gt;&lt;p&gt;YR3W8-FCM2B-7BKF9-HMQFT-CH7WK&amp;nbsp;&lt;/p&gt;&lt;p&gt;SN:YCFHQ-9DWCY-DKV88-T2TMH-G7BHP&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2015669.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/04/14/2015669.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/04/14/2015672.html</id><title type="text">下载最新Silverlight 5 Beta客户端</title><summary type="text">下载最新Silverlight 5 Beta客户端：http://www.silverlight.net/getstarted/silverlight-5-beta/</summary><published>2011-04-14T02:02:00Z</published><updated>2011-04-14T02:02:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/04/14/2015672.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/04/14/2015672.html"/><content type="html">&lt;div&gt;下载最新Silverlight 5 Beta客户端：&lt;a href="http://www.silverlight.net/getstarted/silverlight-5-beta/" target="_blank"&gt;http://www.silverlight.net/getstarted/silverlight-5-beta/&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2015672.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/04/14/2015672.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/ryb/archive/2011/04/11/2012141.html</id><title type="text">oracle数据库导入导出命令！</title><summary type="text">Oracle数据导入导出imp/exp功能：Oracle数据导入导出imp/exp就相当与oracle数据还原与备份。大多情况都可以用Oracle数据导入导出完成数据的备份和还原（不会造成数据的丢失）。Oracle有个好处，虽然你的电脑不是服务器，但是你装了oracle客户端，并建立了连接（通过Net Configuration Assistant添加正确的服务命名，其实你可以想成是客户端与服务器端 修了条路，然后数据就可以被拉过来了）这样你可以把数据导出到本地，虽然可能服务器离你很远。你同样可以把dmp文件从本地导入到远处的数据库服务器中。利用这个功能你可以构建俩个相同的数据库，一个用来测试</summary><published>2011-04-11T02:19:00Z</published><updated>2011-04-11T02:19:00Z</updated><author><name>斌哥</name><uri>http://www.cnblogs.com/ryb/</uri></author><link rel="alternate" href="http://www.cnblogs.com/ryb/archive/2011/04/11/2012141.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/ryb/archive/2011/04/11/2012141.html"/><content type="html">&lt;div&gt;&lt;span style="color: #232323; font-family: Verdana, Arial, helvetica, sans-seriff; font-size: 12px; line-height: 18px; "&gt;&lt;div style="font-size: 13px; font-weight: bold; margin-bottom: 10px; "&gt;&lt;/div&gt;&lt;div id="cnblogs_post_body"&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;&lt;span style="color: #ff0000; "&gt;&lt;span style="color: #000000; "&gt;Oracle数据导入导出imp/exp&amp;nbsp;&lt;/span&gt;&lt;span style="color: #000000; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;功能：Oracle数据导入导出imp/exp就相当与oracle数据还原与备份。&lt;br /&gt;&amp;nbsp;&lt;br /&gt;大多情况都可以用Oracle数据导入导出完成数据的备份和还原（不会造成数据的丢失）。&lt;br /&gt;&amp;nbsp;Oracle有个好处，虽然你的电脑不是服务器，但是你装了oracle客户端，并建立了连接&lt;br /&gt;&amp;nbsp;（通过Net Configuration Assistant添加正确的服务命名，其实你可以想成是客户端与服务器端 修了条路，然后数据就可以被拉过来了）&lt;br /&gt;&amp;nbsp;这样你可以把数据导出到本地，虽然可能服务器离你很远。&lt;br /&gt;&amp;nbsp;你同样可以把dmp文件从本地导入到远处的数据库服务器中。&lt;br /&gt;&amp;nbsp;利用这个功能你可以构建俩个相同的数据库，一个用来测试，一个用来正式使用。&lt;br /&gt;&amp;nbsp;&lt;br /&gt;执行环境：可以在SQLPLUS.EXE或者DOS（命令行）中执行，&lt;br /&gt;&amp;nbsp;DOS中可以执行时由于 在oracle 8i 中&amp;nbsp; 安装目录\$ora10g\BIN被设置为全局路径，&lt;br /&gt;&amp;nbsp;该目录下有EXP.EXE与IMP.EXE文件被用来执行导入导出。&lt;br /&gt;&amp;nbsp;oracle用java编写，我想SQLPLUS.EXE、EXP.EXE、IMP.EXE这俩个文件是被包装后的类文件。&lt;br /&gt;&amp;nbsp;SQLPLUS.EXE调用EXP.EXE、IMP.EXE他们所包裹的类，完成导入导出功能。&lt;br /&gt;&amp;nbsp;&lt;br /&gt;下面介绍的是导入导出的实例，向导入导出看实例基本上就可以完成，因为导入导出很简单。&lt;br /&gt;数据导出：&lt;br /&gt;&amp;nbsp;1 将数据库TEST完全导出,用户名system 密码manager 导出到D:\daochu.dmp中&lt;br /&gt;&amp;nbsp;&amp;nbsp; exp system/manager@TEST file=d:\daochu.dmp full=y&lt;br /&gt;&amp;nbsp;2 将数据库中system用户与sys用户的表导出&lt;br /&gt;&amp;nbsp;&amp;nbsp; exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)&lt;br /&gt;&amp;nbsp;3 将数据库中的表table1 、table2导出&lt;br /&gt;&amp;nbsp;&amp;nbsp; exp system/manager@TEST file=d:\daochu.dmp tables=(table1,table2)&amp;nbsp;&lt;br /&gt;&amp;nbsp;4 将数据库中的表table1中的字段filed1以"00"打头的数据导出&lt;br /&gt;&amp;nbsp;&amp;nbsp; exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\" where filed1 like&amp;nbsp; '00%'\"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 上面是常用的导出，对于压缩我不太在意，用winzip把dmp文件可以很好的压缩。&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 不过在上面命令后面 加上 compress=y&amp;nbsp; 就可以了&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;数据的导入&lt;br /&gt;&amp;nbsp;1 将D:\daochu.dmp 中的数据导入 TEST数据库中。&lt;br /&gt;&amp;nbsp;&amp;nbsp; imp system/manager@TEST&amp;nbsp; file=d:\daochu.dmp&lt;br /&gt;&amp;nbsp;&amp;nbsp; 上面可能有点问题，因为有的表已经存在，然后它就报错，对该表就不进行导入。&lt;br /&gt;&amp;nbsp;&amp;nbsp; 在后面加上 ignore=y 就可以了。&lt;br /&gt;&amp;nbsp;2 将d:\daochu.dmp中的表table1 导入&lt;br /&gt;&amp;nbsp;imp system/manager@TEST&amp;nbsp; file=d:\daochu.dmp&amp;nbsp; tables=(table1)&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;基本上上面的导入导出够用了。不少情况我是将表彻底删除，然后导入。&lt;br /&gt;&amp;nbsp;&lt;br /&gt;注意：&lt;br /&gt;&amp;nbsp;你要有足够的权限，权限不够它会提示你。&lt;br /&gt;&amp;nbsp;数据库时可以连上的。可以用tnsping TEST 来获得数据库TEST能否连上。&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;数据导出：&lt;br /&gt;exp hkb/hkb@boss_14 full=y file=c:\orabackup\hkbfull.dmp log=c:\orabackup\hkbfull.log;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;导出注意事项：导出的是当前用户的的数据，当前用户如果有DBA的权限，则导出所有数据！&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;同名用户之间的数据导入：&lt;br /&gt;imp hkb/hkb@xe&amp;nbsp; file=c:\orabackup\hkbfull.dmp log=c:\orabackup\hkbimp.log full=y&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;不同名之间的数据导入：&lt;br /&gt;imp system/test@xe fromuser=hkb touser=hkb_new file=c:\orabackup\hkbfull.dmp&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "&gt;log=c:\orabackup\hkbimp.log;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/ryb/aggbug/2012141.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/ryb/archive/2011/04/11/2012141.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
