<?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/7702/rss</id><updated>2012-05-10T14:47:51Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/7702/rss"/><entry><id>http://www.cnblogs.com/QDuck/archive/2012/05/04/2482372.html</id><title type="text">How To Add Day, Hour, Minute, Second to a Date Value in Oracle</title><summary type="text">Add a day.select to_date('02-22-2008 10:30:30','mm-dd-yyyy hh24:mi:ss') today,to_date('02-22-2008 10:30:30','mm-dd-yyyy hh24:mi:ss')+1 next_dayfrom dual;TODAY NEXT_DAY------------------------- -------------------------02-22-08 10:30:30 02-23-08 10:30:30Add an hour.sel</summary><published>2012-05-04T03:05:00Z</published><updated>2012-05-04T03:05:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2012/05/04/2482372.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2012/05/04/2482372.html"/><content type="html">&lt;ol&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Add a day&lt;/strong&gt;.&lt;br /&gt;select to_date('02-22-2008 10:30:30','mm-dd-yyyy hh24:mi:ss') today,&amp;nbsp;&lt;br /&gt;to_date('02-22-2008 10:30:30','mm-dd-yyyy hh24:mi:ss')+1 next_day&amp;nbsp;&lt;br /&gt;from dual;&lt;br /&gt;TODAY NEXT_DAY&lt;br /&gt;------------------------- -------------------------&lt;br /&gt;02-22-08 10:30:30 02-23-08 10:30:30&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Add an hour&lt;/strong&gt;.&lt;br /&gt;select to_date('02-22-08 10:30:30','mm-dd-yy hh24:mi:ss') today,&lt;br /&gt;to_date('02-22-08 10:30:30','mm-dd-yy hh24:mi:ss')+ 1/24 next_hour&lt;br /&gt;from dual;&lt;br /&gt;TODAY NEXT_HOUR&lt;br /&gt;------------------------ ------------------------&lt;br /&gt;02-22-08 10:30:30 02-22-08 11:30:30&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Add a minute&lt;/strong&gt;.&lt;br /&gt;select to_date('02-22-08 10:30:30','mm-dd-yy hh24:mi:ss') today,&lt;br /&gt;to_date('02-22-08 10:30:30','mm-dd-yy hh24:mi:ss')+ 1/(24*60) next_min&lt;br /&gt;from dual;&lt;br /&gt;TODAY NEXT_MIN&lt;br /&gt;------------------------ ------------------------&lt;br /&gt;02-22-08 10:30:30 02-22-08 10:31:30&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Add a second&lt;/strong&gt;.&lt;br /&gt;select to_date('02-22-08 10:30:30','mm-dd-yy hh24:mi:ss') today,&lt;br /&gt;to_date('02-22-08 10:30:30','mm-dd-yy hh24:mi:ss')+ 1/(24*60*60) next_sec&lt;br /&gt;from dual;&lt;br /&gt;TODAY NEXT_SEC&lt;br /&gt;------------------------ ------------------------&lt;br /&gt;02-22-08 10:30:30 02-22-08 10:30:31&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2482372.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2012/05/04/2482372.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2012/05/01/2478135.html</id><title type="text">Entity Framework 4.3 中使用存储过程(转)</title><summary type="text">尽管 Entity Framework 4.3 都已经发布了,且表示在 EF 5 中性能将会有很大提升.但很多存储过程控,始终不会放弃使用存储过程,那今天就让我们看看在 EF 4.3 中怎么使用存储过程.我们接着上篇文章,在 Sql Server 2008 中创建一个简单的存储过程,如下:CREATE PROCEDURE [dbo].[P_GetArticleByID] @IDintASBEGIN SELECT ID,Title FROM Articles WHERE ID=@ID;END查询存储过程在 Controller 中的写法:BlogContext db =new...</summary><published>2012-05-01T12:29:00Z</published><updated>2012-05-01T12:29:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2012/05/01/2478135.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2012/05/01/2478135.html"/><content type="html">&lt;p&gt;尽管 Entity Framework 4.3 都已经发布了,且表示在 EF 5 中性能将会有很大提升.但很多存储过程控,始终不会放弃使用存储过程,那今天就让我们看看在 EF 4.3 中怎么使用存储过程.&lt;/p&gt;&lt;p&gt;我们接着上篇文章,在 Sql Server 2008 中创建一个简单的存储过程,如下:&lt;/p&gt;&lt;span class="pln"&gt;CREATE PROCEDURE &lt;/span&gt;&lt;span class="pun"&gt;[&lt;/span&gt;&lt;span class="pln"&gt;dbo&lt;/span&gt;&lt;span class="pun"&gt;].[&lt;/span&gt;&lt;span class="pln"&gt;P_GetArticleByID&lt;/span&gt;&lt;span class="pun"&gt;]&lt;/span&gt;&lt;span class="pln"&gt; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="lit"&gt;@ID&lt;/span&gt;&lt;span class="kwd"&gt;int&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;AS&lt;br /&gt;&lt;/span&gt;&lt;span class="kwd"&gt;BEGIN&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SELECT ID&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="typ"&gt;Title&lt;/span&gt;&lt;span class="pln"&gt; FROM &lt;/span&gt;&lt;span class="typ"&gt;Articles&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WHERE ID&lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="lit"&gt;@ID&lt;/span&gt;&lt;span class="pun"&gt;;&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="kwd"&gt;END&lt;/span&gt;&lt;p&gt;查询存储过程在 Controller 中的写法:&lt;/p&gt;&lt;span class="typ"&gt;BlogContext&lt;/span&gt;&lt;span class="pln"&gt; db &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="kwd"&gt;new&lt;/span&gt;&lt;span class="typ"&gt;BlogContext&lt;/span&gt;&lt;span class="pun"&gt;();&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="typ"&gt;SqlParameter&lt;/span&gt;&lt;span class="pun"&gt;[]&lt;/span&gt;&lt;span class="pln"&gt; parms &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="kwd"&gt;new&lt;/span&gt;&lt;span class="typ"&gt;SqlParameter&lt;/span&gt;&lt;span class="pun"&gt;[&lt;/span&gt;&lt;span class="lit"&gt;1&lt;/span&gt;&lt;span class="pun"&gt;];&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;parms&lt;/span&gt;&lt;span class="pun"&gt;[&lt;/span&gt;&lt;span class="lit"&gt;0&lt;/span&gt;&lt;span class="pun"&gt;]&lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="kwd"&gt;new&lt;/span&gt;&lt;span class="typ"&gt;SqlParameter&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="str"&gt;"@ID"&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="lit"&gt;1&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="kwd"&gt;var&lt;/span&gt;&lt;span class="pln"&gt; result &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; db&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;Articles&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;SqlQuery&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="str"&gt;"exec P_GetArticleByID @ID"&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt; parms&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="kwd"&gt;return&lt;/span&gt;&lt;span class="typ"&gt;View&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt;result&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;p&gt;可见,我们通过执行 Sql 语句的方法来使用存储过程.增、删、改方法:&lt;/p&gt;&lt;span class="kwd"&gt;int&lt;/span&gt;&lt;span class="pln"&gt; result &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; db&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;Database&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;ExecuteSqlCommand&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="str"&gt;"exec P_DeleteArticleByID @ID"&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt; parms&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;p&gt;本篇简单给出在 EF 4.3 中使用存储过程的方法,希望对大家有所帮助&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2478135.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2012/05/01/2478135.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2012/04/11/2442025.html</id><title type="text">oracle 密码规则</title><summary type="text">From what I've read on the web, I'm guessing that the following rules applyThe password must start with a letter (Oracle database passwords are not case sensitive)Subsequent characters may be letters, numbers, or the symbols # (pound sign), $ (dollar sign) or _ (underscore).Also do not use w</summary><published>2012-04-11T03:29:00Z</published><updated>2012-04-11T03:29:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2012/04/11/2442025.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2012/04/11/2442025.html"/><content type="html">&lt;p&gt;&lt;span&gt;From what I've read on the web, I'm guessing that the following rules apply&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;The password must start with a letter (Oracle database passwords are not case sensitive)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Subsequent characters may be letters, numbers, or the symbols # (pound sign), $ (dollar sign) or _ (underscore).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Also do not use words that are Oracle reserved words. You can supposedly break the rules above if your password is quoted, but then all the interfacing software needs to accomodate that. The weaker passwords (case insensitivity, and limited punctuation) can be compensated by making longer passwords, up to 63 characters in length.&lt;/span&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2442025.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2012/04/11/2442025.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2012/01/11/2318871.html</id><title type="text">动量ODE评估</title><summary type="text">1.业务构件化的解决方案。2.业务构件层级: 数据建模（问题1：主键和业务无关，主键由系统直接生成）。 菜单， 门户， 界面 （页面设计上，使用克隆按钮实现多个操作页面）， 表单（支持页面类型很多，问题2：业务实体和数据库对象实体之间转化，没有实际的业务实体对象。）， 业务流程（问题：流程中的角色没有everyone，自己需要建个角色，将所有用户添加进来。）， 业务规则（1.页面逻辑实现的方法直接使用写java代码的方式， 2.支持数据库查询where的过滤配置，不支持数据库自定义函数）， 报表， 文档， 网站， 作业， 权限(权限设置有点强大，菜单，页面，...</summary><published>2012-01-11T02:13:00Z</published><updated>2012-01-11T02:13:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2012/01/11/2318871.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2012/01/11/2318871.html"/><content type="html">&lt;p&gt;1.业务构件化的解决方案。&lt;/p&gt;&lt;p&gt;2.业务构件层级:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 数据建模（问题1：主键和业务无关，主键由系统直接生成）。&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 菜单，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 门户，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;界面 （页面设计上，使用克隆按钮实现多个操作页面），&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 表单（支持页面类型很多，问题2：业务实体和数据库对象实体之间转化，没有实际的业务实体对象。），&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;业务流程（问题：流程中的角色没有everyone，自己需要建个角色，将所有用户添加进来。），&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 业务规则（1.页面逻辑实现的方法直接使用写java代码的方式，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.支持数据库查询where的过滤配置，不支持数据库自定义函数），&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 报表，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 文档，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 网站，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 作业，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 权限(权限设置有点强大，菜单，页面，实体，行)，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 集成，&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 样式。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Result:&lt;/p&gt;&lt;p&gt;实施来看，基本与软件开发的流程一致，只是将之前由软件工程师做的开发动作，由ODE系统间接生成原始代码来实现。&lt;/p&gt;&lt;p&gt;多个应用APP之间的对象复用是否存在问题？App之间通过导入导出配置来实现复用，APP里的模块之间的调用，通过Share方式。&lt;/p&gt;&lt;p&gt;协同开发的问题？两个人无法同时开发一个模块，可以分别负责不同的模块开发来实现。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ODE :&lt;/p&gt;&lt;p&gt;hib, spring, mysql .&lt;/p&gt;&lt;p&gt;支持最好的是：ie8，ie9有点问题。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2318871.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2012/01/11/2318871.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2012/01/10/2318584.html</id><title type="text">相当有用的Table Row And Col Fix方法。</title><summary type="text">JQuery.FixedTablejQuery.FixedTable is a jQuery plugin to create a fixed header and columns on a HTML table. The idea is fromhttps://www.open2space.com/projects/fixedtable. We have improved it, and fixed some bugs.FeatureAllow horizontal and vertical scroll.Support multiple HTML tables in one page.Th</summary><published>2012-01-10T14:29:00Z</published><updated>2012-01-10T14:29:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2012/01/10/2318584.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2012/01/10/2318584.html"/><content type="html">&lt;p&gt;&lt;strong&gt;JQuery.FixedTable&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;jQuery.FixedTable is a jQuery plugin to create a fixed header and columns on a HTML table. The idea is from&amp;nbsp;&lt;a href="https://www.open2space.com/projects/fixedtable"&gt;https://www.open2space.com/projects/fixedtable&lt;/a&gt;. We have improved it, and fixed some bugs.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Allow horizontal and vertical scroll.&lt;/li&gt;&lt;li&gt;Support multiple HTML tables in one page.&lt;/li&gt;&lt;li&gt;The number of fixed columns can be customize.&lt;/li&gt;&lt;li&gt;The background colors of each row when mouse is over and out can be customized.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Files&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.novasoftware.com/download/download.gif" alt="Nova Download" /&gt;&lt;a href="http://www.novasoftware.com/download/jquery_fixedtable/jQuery_FixedTable_Demo.htm" target="_blank"&gt;Demo&lt;/a&gt;&amp;nbsp;, Download:&amp;nbsp;&lt;a href="http://www.novasoftware.com/download/jquery_fixedtable/jquery.fixedtable.js" target="_blank"&gt;Source Code&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Usage&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;To make a fixed table, you need to some javascript code and a &amp;lt;table&amp;gt; with the &amp;lt;thead&amp;gt; and &amp;lt;tfoot&amp;gt; in your page, and set the elements' class.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;e.g.&lt;/strong&gt;&lt;/p&gt;    &lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;script type&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"text/javascript"&lt;/span&gt; src&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"jquery.js"&lt;/span&gt;&lt;span class="sh_symbol"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;script&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;script type&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"text/javascript"&lt;/span&gt; src&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"jquery.fixedtable.js"&lt;/span&gt;&lt;span class="sh_symbol"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;script&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;script type&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"text/javascript"&lt;/span&gt;&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &lt;span class="sh_comment"&gt;// this "tableDiv" must be the table's class&lt;/span&gt;&lt;br/&gt;    $&lt;span class="sh_symbol"&gt;(&lt;/span&gt;&lt;span class="sh_string"&gt;".tableDiv"&lt;/span&gt;&lt;span class="sh_symbol"&gt;).&lt;/span&gt;&lt;span class="sh_function"&gt;each&lt;/span&gt;&lt;span class="sh_symbol"&gt;(&lt;/span&gt;&lt;span class="sh_keyword"&gt;function&lt;/span&gt;&lt;span class="sh_symbol"&gt;()&lt;/span&gt; &lt;span class="sh_cbracket"&gt;{&lt;/span&gt;      &lt;br/&gt;        &lt;span class="sh_keyword"&gt;var&lt;/span&gt; Id &lt;span class="sh_symbol"&gt;=&lt;/span&gt; $&lt;span class="sh_symbol"&gt;(&lt;/span&gt;&lt;span class="sh_keyword"&gt;this&lt;/span&gt;&lt;span class="sh_symbol"&gt;).&lt;/span&gt;&lt;span class="sh_function"&gt;get&lt;/span&gt;&lt;span class="sh_symbol"&gt;(&lt;/span&gt;&lt;span class="sh_number"&gt;0&lt;/span&gt;&lt;span class="sh_symbol"&gt;).&lt;/span&gt;id&lt;span class="sh_symbol"&gt;;&lt;/span&gt;&lt;br/&gt;        &lt;span class="sh_keyword"&gt;var&lt;/span&gt; maintbheight &lt;span class="sh_symbol"&gt;=&lt;/span&gt; &lt;span class="sh_number"&gt;555&lt;/span&gt;&lt;span class="sh_symbol"&gt;;&lt;/span&gt;&lt;br/&gt;        &lt;span class="sh_keyword"&gt;var&lt;/span&gt; maintbwidth &lt;span class="sh_symbol"&gt;=&lt;/span&gt; &lt;span class="sh_number"&gt;911&lt;/span&gt;&lt;span class="sh_symbol"&gt;;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;        $&lt;span class="sh_symbol"&gt;(&lt;/span&gt;&lt;span class="sh_string"&gt;"#"&lt;/span&gt; &lt;span class="sh_symbol"&gt;+&lt;/span&gt; Id &lt;span class="sh_symbol"&gt;+&lt;/span&gt; &lt;span class="sh_string"&gt;" .FixedTables"&lt;/span&gt;&lt;span class="sh_symbol"&gt;).&lt;/span&gt;&lt;span class="sh_function"&gt;fixedTable&lt;/span&gt;&lt;span class="sh_symbol"&gt;(&lt;/span&gt;&lt;span class="sh_cbracket"&gt;{&lt;/span&gt;&lt;br/&gt;            width&lt;span class="sh_symbol"&gt;:&lt;/span&gt; maintbwidth&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            height&lt;span class="sh_symbol"&gt;:&lt;/span&gt; maintbheight&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            fixedColumns&lt;span class="sh_symbol"&gt;:&lt;/span&gt; &lt;span class="sh_number"&gt;1&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            &lt;span class="sh_comment"&gt;// header style&lt;/span&gt;&lt;br/&gt;            classHeader&lt;span class="sh_symbol"&gt;:&lt;/span&gt; &lt;span class="sh_string"&gt;"fixedHead"&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            &lt;span class="sh_comment"&gt;// footer style        &lt;/span&gt;&lt;br/&gt;            classFooter&lt;span class="sh_symbol"&gt;:&lt;/span&gt; &lt;span class="sh_string"&gt;"fixedFoot"&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            &lt;span class="sh_comment"&gt;// fixed column on the left        &lt;/span&gt;&lt;br/&gt;            classColumn&lt;span class="sh_symbol"&gt;:&lt;/span&gt; &lt;span class="sh_string"&gt;"fixedColumn"&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            &lt;span class="sh_comment"&gt;// the width of fixed column on the left      &lt;/span&gt;&lt;br/&gt;            fixedColumnWidth&lt;span class="sh_symbol"&gt;:&lt;/span&gt; &lt;span class="sh_number"&gt;150&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            &lt;span class="sh_comment"&gt;// table's parent div's id           &lt;/span&gt;&lt;br/&gt;            outerId&lt;span class="sh_symbol"&gt;:&lt;/span&gt; Id&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            &lt;span class="sh_comment"&gt;// tds' in content area default background color                     &lt;/span&gt;&lt;br/&gt;            Contentbackcolor&lt;span class="sh_symbol"&gt;:&lt;/span&gt; &lt;span class="sh_string"&gt;"#FFFFFF"&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt;&lt;br/&gt;            &lt;span class="sh_comment"&gt;// tds' in content area background color while hover.     &lt;/span&gt;&lt;br/&gt;            Contenthovercolor&lt;span class="sh_symbol"&gt;:&lt;/span&gt; &lt;span class="sh_string"&gt;"#99CCFF"&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt; &lt;br/&gt;            &lt;span class="sh_comment"&gt;// tds' in fixed column default background color   &lt;/span&gt;&lt;br/&gt;            fixedColumnbackcolor&lt;span class="sh_symbol"&gt;:&lt;/span&gt;&lt;span class="sh_string"&gt;"#187BAF"&lt;/span&gt;&lt;span class="sh_symbol"&gt;,&lt;/span&gt; &lt;br/&gt;            &lt;span class="sh_comment"&gt;// tds' in fixed column background color while hover. &lt;/span&gt;&lt;br/&gt;            fixedColumnhovercolor&lt;span class="sh_symbol"&gt;:&lt;/span&gt;&lt;span class="sh_string"&gt;"#99CCFF"&lt;/span&gt;  &lt;br/&gt;        &lt;span class="sh_cbracket"&gt;}&lt;/span&gt;&lt;span class="sh_symbol"&gt;);&lt;/span&gt;        &lt;br/&gt;    &lt;span class="sh_cbracket"&gt;}&lt;/span&gt;&lt;span class="sh_symbol"&gt;);&lt;/span&gt;&lt;br/&gt;    &lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;script&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;        &lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;div id&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"tableDiv_Arrays"&lt;/span&gt; &lt;span class="sh_keyword"&gt;class&lt;/span&gt;&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"tableDiv"&lt;/span&gt;&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;table id&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"Open_Text_Arrays"&lt;/span&gt; &lt;span class="sh_keyword"&gt;class&lt;/span&gt;&lt;span class="sh_symbol"&gt;=&lt;/span&gt;&lt;span class="sh_string"&gt;"FixedTables"&lt;/span&gt;&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;thead&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;tr&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Purpose&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;C&lt;span class="sh_comment"&gt;#&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Php4&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Php5&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;ActionScript&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;JavaScript&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Ruby&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;tr&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;thead&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;tbody&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;tr&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;data1&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;data2&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;data3&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;data4&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;data5&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;data6&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;data7&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;tr&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;tbody&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;tfoot&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;tr&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Purpose&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;C&lt;span class="sh_comment"&gt;#&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Php4&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Php5&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;ActionScript&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;JavaScript&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;Ruby&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;th&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&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;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;tr&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;tfoot&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;table&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &lt;span class="sh_symbol"&gt;&amp;lt;/&lt;/span&gt;div&lt;span class="sh_symbol"&gt;&amp;gt;&lt;/span&gt;&lt;br/&gt;    &lt;p&gt;note: if you do not need the footer, just remove the &amp;lt;tfoot&amp;gt; in your html code.&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2318584.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2012/01/10/2318584.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2011/12/06/2278381.html</id><title type="text">ORACLE 11g R2 归档模式</title><summary type="text">archive log listshow parameter clusterstartup nomountalter database mount;alter database archivelog;archive log list;</summary><published>2011-12-06T11:06:00Z</published><updated>2011-12-06T11:06:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2011/12/06/2278381.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2011/12/06/2278381.html"/><content type="html">&lt;p&gt;archive log list&lt;/p&gt;&lt;p&gt;show parameter cluster&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;startup nomount&lt;/p&gt;&lt;p&gt;alter database mount;&lt;/p&gt;&lt;p&gt;alter database archivelog;&lt;/p&gt;&lt;p&gt;archive log list;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2278381.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2011/12/06/2278381.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2011/09/07/2169662.html</id><title type="text">DHCP server configuration on the Cisco Aironet 1100 and 1200 series AP</title><summary type="text">DHCP server configuration on the Cisco Aironet 1100 and 1200 series APhttps://supportforums.cisco.com/docs/DOC-3628ResolutionDynamic Host Configuration Protocol (DHCP) server capability was first available on the Cisco Aironet 1100 and 1200 series Access Points (APs) in version 12.2(11)JA1.When an A</summary><published>2011-09-07T03:50:00Z</published><updated>2011-09-07T03:50:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2011/09/07/2169662.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2011/09/07/2169662.html"/><content type="html">&lt;p&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, verdana, sans-serif; font-size: 12px; line-height: normal;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 2em; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; line-height: 1.1em; color: #ee6804; border-width: 0px; margin: 0px;"&gt;DHCP server configuration on the Cisco Aironet 1100 and 1200 series AP&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://supportforums.cisco.com/docs/DOC-3628"&gt;https://supportforums.cisco.com/docs/DOC-3628&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 1.5556em; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 10px; padding-right: 0px; padding-bottom: 4px; padding-left: 0px; font-weight: bold; background-position: initial initial; background-repeat: initial initial; border-width: 0px; margin: 0px;"&gt;&lt;span class="modulesubhead" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 19px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Resolution&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Dynamic Host Configuration Protocol (DHCP) server capability was first available on the Cisco Aironet 1100 and 1200 series Access Points (APs) in version 12.2(11)JA1.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;When an AP is configured as a DHCP server, it can provide IP addresses to an Ethernet-capable PC connected to its Ethernet port or to wireless client devices that associate to the AP.&lt;/p&gt;&lt;p&gt;Setting up the DHCP Server&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;By default, access points are configured to receive IP settings from a DHCP server on your network. You can also configure an access point to act as a DHCP server to assign IP settings to devices on both your wired and wireless LANs.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The access point becomes a mini-DHCP server by default when it is configured with factory default settings and it cannot receive IP settings from a DHCP server. As a mini-DHCP server, the access point provides up to 20 IP addresses between 10.0.0.11 and 10.0.0.30 to a PC connected to its Ethernet port and to wireless client devices configured to use no SSID, and with all security settings disabled. The mini-DHCP server feature is disabled automatically when you assign a static IP address to the access point. Because it has a console port to simplify initial setup.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note When you configure the access point as a DHCP server, it assigns IP addresses to devices on its subnet. The devices communicate with other devices on the subnet but not beyond it. If data needs to be passed beyond the subnet, you must assign a default router. The IP address of the default router should be on the same subnet as the access point configured as the DHCP server.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For detailed information on DHCP-related commands and options, refer to the Configuring DHCP chapter in the Cisco IOS IP Configuration Guide, Release 12.3. Click this URL to browse to the "Configuring DHCP" chapter:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfdhcp.htm" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfdhcp.htm&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Beginning in privileged EXEC mode, follow these steps to configure an access point to provide DHCP service and specify a default router:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" cellpadding="3" cellspacing="0" id="wp1057378table1057374" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; width: 570px; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;tbody style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;tr align="left" valign="bottom" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;th scope="col"&gt;&lt;/th&gt;&lt;th scope="col"&gt;&lt;div style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Command&lt;/div&gt;&lt;/th&gt;&lt;th scope="col"&gt;&lt;div style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Purpose&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 1&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;configure terminal&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Enter global configuration mode.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 2&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-weight: bold; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;ip dhcp excluded-address&lt;/strong&gt;low_address [ high_address ]&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Exclude the wireless device IP address from the range of addresses the&amp;nbsp; wireless device assigns. Enter the IP address in four groups of&amp;nbsp; characters, such as 10.91.6.158.&lt;/p&gt;&lt;p&gt;the wireless device assumes that all IP addresses in a DHCP address pool&amp;nbsp; subnet are available for assigning to DHCP clients. You must specify&amp;nbsp; the IP addresses that the DHCP Server should not assign to clients.&lt;/p&gt;&lt;p&gt;(Optional) To enter a range of excluded addresses, enter the address at&amp;nbsp; the low end of the range followed by the address at the high end of the&amp;nbsp; range.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 3&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-weight: bold; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;ip dhcp pool&lt;/strong&gt;pool_name&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Create a name for the pool of IP addresses that the wireless device&amp;nbsp; assigns in response to DHCP requests, and enter DHCP configuration mode.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 4&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-weight: bold; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;network&lt;/strong&gt;subnet_number&amp;nbsp;&lt;br /&gt;[&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-weight: bold; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/strong&gt;mask | prefix-length ]&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Assign the subnet number for the address pool. The wireless device assigns IP addresses within this subnet.&lt;/p&gt;&lt;p&gt;(Optional) Assign a subnet mask for the address pool, or specify the&amp;nbsp; number of bits that comprise the address prefix. The prefix is an&amp;nbsp; alternative way of assigning the network mask. The prefix length must be&amp;nbsp; preceded by a forward slash (/).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 5&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;lease { days [ hours ] [ minutes ] |&amp;nbsp;&lt;br /&gt;infinite }&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Configure the duration of the lease for IP addresses assigned by the wireless device.&lt;/p&gt;&lt;p&gt;&amp;bull;&lt;a href="http://www.cisco.com/en/US/i/templates/blank.gif" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;img border="0" height="2" src="http://www.cisco.com/en/US/i/templates/blank.gif" width="19" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" /&gt;&lt;/a&gt;days&amp;mdash;configure the lease duration in number of days&lt;/p&gt;&lt;p&gt;&amp;bull;&lt;a href="http://www.cisco.com/en/US/i/templates/blank.gif" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;img border="0" height="2" src="http://www.cisco.com/en/US/i/templates/blank.gif" width="19" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" /&gt;&lt;/a&gt;(optional) hours&amp;mdash;configure the lease duration in number of hours&lt;/p&gt;&lt;p&gt;&amp;bull;&lt;a href="http://www.cisco.com/en/US/i/templates/blank.gif" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;img border="0" height="2" src="http://www.cisco.com/en/US/i/templates/blank.gif" width="19" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" /&gt;&lt;/a&gt;(optional) minutes&amp;mdash;configure the lease duration in number of minutes&lt;/p&gt;&lt;p&gt;&amp;bull;&lt;a href="http://www.cisco.com/en/US/i/templates/blank.gif" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;img border="0" height="2" src="http://www.cisco.com/en/US/i/templates/blank.gif" width="19" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding: 0px; margin: 0px;" /&gt;&lt;/a&gt;infinite&amp;mdash;set the lease duration to infinite&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 6&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;default-router address [address2 ... address 8]&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Specify the IP address of the default router for DHCP clients on the&amp;nbsp; subnet. One IP address is required; however, you can specify up to eight&amp;nbsp; addresses in one command line.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 7&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;end&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Return to privileged EXEC mode.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 8&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;show running-config&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Verify your entries.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;Step 9&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;copy running-config startup-config&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;(Optional) Save your entries in the configuration file.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Use the no form of these commands to return to default settings.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This example shows how to configure the wireless device as a DHCP server, exclude a range of IP address, and assign a default router:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;AP# configure terminal&lt;/p&gt;&lt;p&gt;AP(config)# ip dhcp excluded-address 172.16.1.1 172.16.1.20&lt;/p&gt;&lt;p&gt;AP(config)# ip dhcp pool wishbone&lt;/p&gt;&lt;p&gt;AP(dhcp-config)# network 172.16.1.0 255.255.255.0&lt;/p&gt;&lt;p&gt;AP(dhcp-config)# lease 10&lt;/p&gt;&lt;p&gt;AP(dhcp-config)# default-router 172.16.1.1&lt;/p&gt;&lt;p&gt;AP(dhcp-config)# end&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To configure DHCP service on the AP, refer to the&amp;nbsp;&lt;span class="active_link" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Configuring DHCP Service&lt;/span&gt;&amp;nbsp;section of&amp;nbsp;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.cisco.com/en/US/docs/wireless/access_point/12.4_3g_JA/configuration/guide/s43adm.html" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Administering the Access Point&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Note:&lt;/strong&gt;&amp;nbsp;When you use an external DHCP server to provide IP addresses and if the DHCP server is behind a router you can use the&amp;nbsp;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;ip helper-address&lt;/strong&gt;&amp;nbsp; command to forward the bootp broadcast packets received on the Router interface to the DHCP server. DHCP protocol information is carried inside of BOOTP packets. To enable BOOTP broadcast forwarding for a set of clients, configure a helper address on the router interface closest to the client. The helper address should specify the address of the DHCP server. If you have multiple servers, you can configure one helper address for each server. Because BOOTP packets are forwarded by default, DHCP information can now be forwarded by the router. The DHCP server now receives broadcasts from the DHCP clients. For more information on the usage of this command read&amp;nbsp;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.cisco.com/en/US/customer/docs/ios/12_3t/ip_addr/command/reference/ip1_i1gt.html#wp1169356" target="_blank" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;ip helper-address&lt;/a&gt;&amp;nbsp;&lt;/strong&gt;command.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; text-decoration: underline; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;ip helper-address&lt;/strong&gt;&lt;/span&gt;;-&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To enable the forwarding of User Datagram Protocol (UDP) broadcasts, including BOOTP, received on an interface, use the ip helper-address command in interface configuration mode. To disable the forwarding of broadcast packets to specific addresses, use the no form of this command.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ip helper-address [vrf name | global] address [redundancy vrg-name]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;no ip helper-address [vrf name | global] address [redundancy vrg-name]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; text-decoration: underline; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Syntax Description&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div align="left" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;table border="1" cellpadding="3" cellspacing="0" id="wp1169363table1169361" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; width: 570px; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;caption style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;/caption&gt;&lt;tbody style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;vrf&lt;/strong&gt;&amp;nbsp;&lt;em style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;name&lt;/em&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;(Optional) Enables VPN routing and forwarding (VRF) instance and VRF name.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;global&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;(Optional) Configures a global routing table.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;&lt;em style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;address&lt;/em&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Destination broadcast or host address to be used when forwarding UDP&amp;nbsp; broadcasts. There can be more than one helper address per interface.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;td&gt;&lt;p&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;redundancy&lt;/strong&gt;vrg-name&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;(Optional) Defines the VRG group name.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12pt; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; text-decoration: underline; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 16px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Examples&lt;/strong&gt;&lt;/span&gt;;-&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The following example defines an address that acts as a helper address:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;interface ethernet 1&lt;/p&gt;&lt;p&gt;ip helper-address 121.24.43.2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The following example defines an address that acts as a helper address and is associated with the VRF named red:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;interface ethernet 1/0&lt;/p&gt;&lt;p&gt;ip helper-address vrf red 121.25.44.2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The following example defines an address that acts as a helper address and is associated with the VRG named shop:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;interface ethernet 1/0&lt;/p&gt;&lt;p&gt;ip helper-address 121.25.45.2 redundancy shop&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; text-decoration: underline; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;strong style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Administering the Access Point:-&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="chapter-title" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.cisco.com/en/US/docs/wireless/access_point/12.4_3g_JA/configuration/guide/s43adm.html" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: initial; outline-style: none; outline-color: initial; color: #2f6681; text-decoration: none; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;http://www.cisco.com/en/US/docs/wireless/access_point/12.4_3g_JA/configuration/guide/s43adm.html&lt;/a&gt;&lt;/div&gt;&lt;div class="chapter-title" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 1.5556em; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 10px; padding-right: 0px; padding-bottom: 4px; padding-left: 0px; font-weight: bold; background-position: initial initial; background-repeat: initial initial; border-width: 0px; margin: 0px;"&gt;&lt;span class="modulesubhead" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 19px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Problem Type&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Configure / Configuration issues&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 1.5556em; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 10px; padding-right: 0px; padding-bottom: 4px; padding-left: 0px; font-weight: bold; background-position: initial initial; background-repeat: initial initial; border-width: 0px; margin: 0px;"&gt;&lt;span class="modulesubhead" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 19px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Products&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border-color: initial; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;"&gt;Access point&lt;/span&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2169662.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2011/09/07/2169662.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2011/09/05/2167727.html</id><title type="text">Oracle PLSQL 学习笔记(块、控制结构、过程、函数、包)</title><summary type="text">Oracle PL/SQL学习笔记一、PL/SQL 块块定义语法：DECLARE/* 定义部分——定义常量、变量、复杂数据类型、游标*/BEGIN/* 执行部分——PL/SQL语句和SQL语句*/EXCEPTION/* 异常处理部分——处理运行错误*/ END; 注：PL/SQL中结束输入使用‘/’字符dbms_output.put_line(“输出的字符串内容”);dbms_output是oracle提供的系统包；put_line 是该包中的过程，用于输出字符串信息。当使用dbms_output包时必须要先激活服务器输出激活服务器输出语句： set serveroutput on示例：DEC</summary><published>2011-09-05T09:01:00Z</published><updated>2011-09-05T09:01:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2011/09/05/2167727.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2011/09/05/2167727.html"/><content type="html">&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif, verdana, 宋体; line-height: 20px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="center" style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; font-size: 14px; line-height: 20px; text-align: justify; padding: 0px;"&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;Oracle PL/SQL&amp;nbsp;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;学习笔记&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;一、PL/SQL 块&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;块定义语法：&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;DECLARE&lt;/p&gt;&lt;p&gt;/*&lt;/p&gt;&lt;p&gt;&amp;nbsp; 定义部分&amp;mdash;&amp;mdash;定义常量、变量、复杂数据类型、游标&lt;/p&gt;&lt;p&gt;*/&lt;/p&gt;&lt;p&gt;BEGIN&lt;/p&gt;&lt;p&gt;/*&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 执行部分&amp;mdash;&amp;mdash;PL/SQL语句和SQL语句&lt;/p&gt;&lt;p&gt;*/&lt;/p&gt;&lt;p&gt;EXCEPTION&lt;/p&gt;&lt;p&gt;/*&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 异常处理部分&amp;mdash;&amp;mdash;处理运行错误&lt;/p&gt;&lt;p&gt;*/&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 注：PL/SQL中结束输入使用&amp;lsquo;/&amp;rsquo;字符&lt;/p&gt;&lt;p&gt;dbms_output.put_line(&amp;ldquo;输出的字符串内容&amp;rdquo;);&lt;/p&gt;&lt;p&gt;dbms_output是&lt;a class="b" href="http://www.chinawin.net/tag/oracle/" target="_blank" style="color: #333333; text-decoration: none; font-weight: bold;"&gt;oracle&lt;/a&gt;提供的系统包；put_line&amp;nbsp;&amp;nbsp;&amp;nbsp; 是该包中的过程，用于输出字符串信息。当使用dbms_output包时必须要先激活服务器输出&lt;/p&gt;&lt;p&gt;激活服务器输出语句： set serveroutput on&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;示例：&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;DECLARE&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; varchar(5)&amp;nbsp;&amp;nbsp;&amp;nbsp; --变量的定义&lt;/p&gt;&lt;p&gt;BEGIN&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select name INTO str FROM emp &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --INTO是将name的值赋值给str&lt;/p&gt;&lt;p&gt;where empno=$no;&amp;nbsp;&amp;nbsp;&amp;nbsp; --$no是替代变量&lt;/p&gt;&lt;p&gt;EXCEPTION&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When NO_DATA_FOUND then&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --PL/SQL预定义的异常类型&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line(&amp;ldquo;输出的字符串内容&amp;rdquo;);&lt;/p&gt;&lt;p&gt;END;&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;变量定义语法：&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;变量名 [CONSTANT] 数据类型 [NOT NULL] [:=|DEFAULT 默认值或函数]&lt;/p&gt;&lt;p&gt;--CONSTANT表示常量；&lt;/p&gt;&lt;p&gt;--:=设置默认值&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;%TYPE&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;属性&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;示例：&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp; emp.ename%TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --name与emp表中ename列的类型和长度相同&lt;/p&gt;&lt;p&gt;Sex&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name%TYPE&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; --sex与name类型和长度相同&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;%ROWTYPE&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;属性&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;语法：&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;变量名&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 表名%ROWTYPE&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;示例：&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Str&amp;nbsp;&amp;nbsp; T1%ROWTYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;--str变量对应T1表中所有列，并且该表中的所有列的类型与长度相同&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;PL/SQL&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;中使用的操作符&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;:=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --赋值操作符&lt;/p&gt;&lt;p&gt;=&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; --关联操作符&lt;/p&gt;&lt;p&gt;||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --连接操作符&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;PL/SQL&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;游标&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;游标定义语法：&lt;/p&gt;&lt;p&gt;CURSOR&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;&amp;nbsp; IS&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL语句&lt;/p&gt;&lt;p&gt;游标名%ISOPEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 判断游标是否已经打开&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;游标名%FOUND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL语句有作用行市，其属性值为TRUE；&lt;/p&gt;&lt;p&gt;游标名%NOTFOUND SQL语句没有作用行市，其属性值为TRUE；&lt;/p&gt;&lt;p&gt;游标名%ROWCOUNT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 返回SQL语句所作用的总行数&lt;/p&gt;&lt;p&gt;注：游标名默认为&amp;lsquo;SQL&amp;rsquo;&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;二、&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;PL/SQL&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;控制语句&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;1、分支语句&lt;/p&gt;&lt;p&gt;IF&amp;nbsp;&amp;nbsp;&amp;nbsp; 条件&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; THEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 执行操作&lt;/p&gt;&lt;p&gt;ELSEIF 条件THEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 执行操作&lt;/p&gt;&lt;p&gt;ELSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 执行操作&lt;/p&gt;&lt;p&gt;END &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF;&lt;/p&gt;&lt;p&gt;2、多重分支语句&lt;/p&gt;&lt;p&gt;CASE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 表达式&lt;/p&gt;&lt;p&gt;WHEN&amp;nbsp;&amp;nbsp;&amp;nbsp; 要判断的值&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; THEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 执行操作&lt;/p&gt;&lt;p&gt;WHEN&amp;nbsp;&amp;nbsp;&amp;nbsp; 要判断的值&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; THEN &amp;nbsp;&amp;nbsp; 执行操作&lt;/p&gt;&lt;p&gt;ELSE &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 执行操作&lt;/p&gt;&lt;p&gt;END &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASE;&lt;/p&gt;&lt;p&gt;3、循环语句一&lt;/p&gt;&lt;p&gt;WHILE&amp;nbsp;&amp;nbsp; 条件&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP&lt;/p&gt;&lt;p&gt;执行操作&amp;middot;&amp;middot;&amp;middot;&lt;/p&gt;&lt;p&gt;END &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP;&lt;/p&gt;&lt;p&gt;4、循环语句二&lt;/p&gt;&lt;p&gt;FOR&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; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; [REVERSE]&amp;nbsp;&amp;nbsp;&amp;nbsp; 起点值　．．终点值 LOOP&lt;/p&gt;&lt;p&gt;执行操作&lt;/p&gt;&lt;p&gt;END&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; LOOP;&lt;/p&gt;&lt;p&gt;注：REVERSE表示由终点值到起点值循环；　．．是固定格式；&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;三、&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;存储过程&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;创建过程语法：&lt;/strong&gt;&lt;br style="margin-bottom: 8px;" /&gt;create [or replace] procedure procedure_name&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;[ (argment [ { in| in out }] type,&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;argment [ { in | out | in out } ] type&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;{ is | as }&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;&amp;lt;类型.变量的说明&amp;gt;&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;( 注: 不用 declare 语句 )&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;Begin&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;&amp;lt;执行部分&amp;gt;&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;exception&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;&amp;lt;可选的异常处理说明&amp;gt;&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;end; l 这里的IN表示向存储过程传递参数，OUT表示从存储过程返回参数。而IN OUT 表示传递参数和返回参数；&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;l 在存储过程内的变量类型只能指定变量类型；不能指定长度；&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;l 在AS或IS 后声明要用到的变量名称和变量类型及长度；&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;l 在AS或IS 后声明变量不要加declare 语句。&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;br style="margin-bottom: 8px;" /&gt;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;示例：&lt;/strong&gt;&lt;br style="margin-bottom: 8px;" /&gt;CREATE OR REPLACE PROCEDURE ModeTest (&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;p_InParameter IN NUMBER,&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;p_OutParameter OUT NUMBER,&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;p_InOutParameter IN OUT NUMBER) IS&lt;/p&gt;&lt;p&gt;过程体v_LocalVariable NUMBER; --定义变量BEGIN&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;/* 分配p_InParameter给v_LocalVariable.；p_InParamete表示值*/&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;v_LocalVariable := p_InParameter; -- 合法&lt;/p&gt;&lt;p&gt;/* 分配 7 给 p_InParameter. 这是非法的,因为声明是IN ；p_InParamete表示值，即值不能給值*/&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;p_InParameter := 7; -- 非法&lt;/p&gt;&lt;p&gt;/* 分配7给p_ OutParameter. 这是合法的,因为声明是OUT；p_ OutParameter表示变量 */&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;p_OutParameter := 7; -- 合法 /* 分配 p_OutParameter 给 v_LocalVariable.这是非法的,因为声明是OUT；p_ OutParameter表示变量，即变量不能给变量*/&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;v_LocalVariable := p_outParameter; -- 非法 /* 分配 p_InOutParameter 给 v_LocalVariable. 这是合法的,因为声明是IN OUT */&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;v_LocalVariable := p_InOutParameter; --合法 /*分配 7 给 p_InOutParameter. 这是合法的,因为声明是IN OUT */&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;p_InOutParameter := 7; -- 合法&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;END ModeTest;&amp;nbsp;&lt;br style="margin-bottom: 8px;" /&gt;/&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;过程的调用：&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;EXEC [UTE] 过程名 (参数1 ,参数2&amp;hellip;);&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;四、&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;函数&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;创建语法&lt;/strong&gt;：&lt;/p&gt;&lt;p&gt;create [or replace ] function 函数名&lt;/p&gt;&lt;p&gt;[(参数1 [in | out | in out] 参数类型，参数2 [in | out | in out] 参数类型，&amp;hellip;&amp;hellip;)]&lt;/p&gt;&lt;p&gt;return 数据类型&lt;/p&gt;&lt;p&gt;is | as&lt;/p&gt;&lt;p&gt;begin&lt;/p&gt;&lt;p&gt;执行部分&lt;/p&gt;&lt;p&gt;exception&lt;/p&gt;&lt;p&gt;异常处理部分&lt;/p&gt;&lt;p&gt;end [函数名];&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;五、&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;包&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;1、&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;包规范创建语法&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;create [or replace] package 程序包名&lt;/p&gt;&lt;p&gt;is | as&lt;/p&gt;&lt;p&gt;procedure 过程名（过程参数列表）；&lt;/p&gt;&lt;p&gt;function 函数名（函数参数列表）；&lt;/p&gt;&lt;p&gt;&amp;hellip;&amp;hellip;&lt;/p&gt;&lt;p&gt;end 程序包名；&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;2、&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;包体创建语法&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;create [or replace] package body 程序包名&lt;/p&gt;&lt;p&gt;is | as&lt;/p&gt;&lt;p&gt;之前定义的函数、过程的具体实现部分&lt;/p&gt;&lt;p&gt;end 程序包名；&lt;/p&gt;&lt;p&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;3、&lt;/strong&gt;&lt;strong style="font-style: inherit; font-weight: bold;"&gt;包的调用&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;exec 程序包名.过程名（参数列表）；&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2167727.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2011/09/05/2167727.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2011/09/02/2163585.html</id><title type="text">Exp出这个错</title><summary type="text">Exp出这个错PLS-00201: 必须宣告识别项 'DMSYS.DBMS_DM_MODEL_EXP'即将汇出设定的使用者 .... 正在汇出预先纲要程序对象与动作EXP-00008: ORACLE 错误 6550 发生ORA-06550: 第 1 行, 第 13 个字段:PLS-00201: 必须宣告识别项 'DMSYS.DBMS_DM_MODEL_EXP'ORA-06550: 第 1 行, 第 7 个字段:PL/SQL: Statement ignoredEXP-00083: 当呼叫 DMSYS.DBMS_DM_MODEL_EXP.schema_info_e</summary><published>2011-09-02T04:15:00Z</published><updated>2011-09-02T04:15:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2011/09/02/2163585.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2011/09/02/2163585.html"/><content type="html">&lt;p&gt;Exp出这个错PLS-00201: 必须宣告识别项 'DMSYS.DBMS_DM_MODEL_EXP'&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;即将汇出设定的使用者 ...&lt;/p&gt;&lt;p&gt;. 正在汇出预先纲要程序对象与动作&lt;/p&gt;&lt;p&gt;EXP-00008: ORACLE 错误 6550 发生&lt;/p&gt;&lt;p&gt;ORA-06550: 第 1 行, 第 13 个字段:&amp;nbsp;&lt;/p&gt;&lt;p&gt;PLS-00201: 必须宣告识别项 'DMSYS.DBMS_DM_MODEL_EXP'&lt;/p&gt;&lt;p&gt;ORA-06550: 第 1 行, 第 7 个字段:&amp;nbsp;&lt;/p&gt;&lt;p&gt;PL/SQL: Statement ignored&lt;/p&gt;&lt;p&gt;EXP-00083: 当呼叫 DMSYS.DBMS_DM_MODEL_EXP.schema_info_exp 时发生了先前的问题&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;怎么去创建DMSYS.DBMS_DM_MODEL_EXP&lt;/p&gt;&lt;p&gt;------------------------------------------------------------&lt;/p&gt;&lt;p&gt;catalog first, then catproc, then catexp&lt;/p&gt;&lt;p&gt;it is ok for the err prompt &amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;If DMSYS has already been dropped&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Start SQLPLUS and connect with user SYS as SYSDBA&amp;nbsp;&lt;/p&gt;&lt;p&gt;SQL&amp;gt; DELETE FROM exppkgact$ WHERE SCHEMA='DMSYS';&amp;nbsp;&lt;/p&gt;&lt;p&gt;SQL&amp;gt; exit;&amp;nbsp;&lt;/p&gt;&lt;p&gt;proceed with export jobs&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;If dmsys schema objects have been accidentally removed&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;set ORACLE_HOME and ORACLE_SID&amp;nbsp;&lt;/p&gt;&lt;p&gt;Start SQLPLUS and connect with user SYS as SYSDBA&amp;nbsp;&lt;/p&gt;&lt;p&gt;SQL&amp;gt; run $ORACLE_HOME/dm/admin/dminst.sql SYSAUX TEMP $ORACLE_HOME/dm/admin/&amp;nbsp;&lt;/p&gt;&lt;p&gt;SQL&amp;gt; run $ORACLE_HOME/dm/admin/odmpatch.sql (if the database is at 10g patch level, e.g. 10.1.0.3 or 10.1.0.4)&amp;nbsp;&lt;/p&gt;&lt;p&gt;SQL&amp;gt; run $ORACLE_HOME/rdbms/admin/utlrp.sql&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ensure 'Oracle Data Mining' is at Valid status in dba_registry&amp;nbsp;&lt;/p&gt;&lt;p&gt;SQL&amp;gt; select COMP_NAME,VERSION,STATUS from dba_registry where COMP_NAME='Oracle Data Mining';&amp;nbsp;&lt;/p&gt;&lt;p&gt;proceed with export jobs&lt;/p&gt;&lt;p&gt;==========================================&amp;gt;&amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;解决Oracle导出时的 SYS.LT_EXPORT_PKG 错误&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;执行exp命令时报错： ORA-06550: line 1, column 13: PLS-00201: identifier 'SYS.LT_EXPORT_PKG' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored EXP-00083: The previous problem occurred when calling SYS.LT_EXPORT_&lt;/p&gt;&lt;p&gt;执行 Select * From Dba_Objects Where owner='SYS' And object_name Like 'LT_%' 发现LT_EXPORT_PKG编译不通过，&lt;/p&gt;&lt;p&gt;经过三番五次的折腾，&lt;/p&gt;&lt;p&gt;最后发现执行脚本 oracle\product\10.2.0\db_1\RDBMS\ADMIN\owminst.plb ，问题全解决了。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;==========================================&amp;gt;&amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;出现问题如下：&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;ORA-39127: unexpected error from call to export_string :=EXFSYS.DBMS_EXPFIL_DEPASEXP.schema_info_exp('HNMJSYS',1,1,'10.02.00.01.00',newblock)&lt;/p&gt;&lt;p&gt;ORA-06550: line 1, column 12:&lt;/p&gt;&lt;p&gt;PLS-00201: identifier 'EXFSYS.DBMS_EXPFIL_DEPASEXP' must be declared&lt;/p&gt;&lt;p&gt;ORA-06550: line 1, column 7:&lt;/p&gt;&lt;p&gt;PL/SQL: Statement ignored&lt;/p&gt;&lt;p&gt;ORA-06512: at "SYS.DBMS_METADATA", line 5419&lt;/p&gt;&lt;p&gt;ORA-39127: unexpected error from call to export_string :=EXFSYS.DBMS_EXPFIL_DEPASEXP.schema_info_exp('HNMJPRIV',1,1,'10.02.00.01.00',newblock)&lt;/p&gt;&lt;p&gt;ORA-06550: line 1, column 12:&lt;/p&gt;&lt;p&gt;PLS-00201: identifier 'EXFSYS.DBMS_EXPFIL_DEPASEXP' must be declared&lt;/p&gt;&lt;p&gt;ORA-06550: line 1, column 7:&lt;/p&gt;&lt;p&gt;PL/SQL: Statement ignored&lt;/p&gt;&lt;p&gt;ORA-06512: at "SYS.DBMS_METADATA", line 5419&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;上METALINK上查看了一下&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;出现这个错误有两种原因：&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1、用户EXFSYS用户事物处于无效状态&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2、用户EXFSYS用户的事物被删除&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;通过select username,user_id from dba_users where username='EXFSYS';&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;查无此用户&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;解决方法：&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1、Start SQLPlus.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2、Connect with user SYS as SYSDBA and issue the following commands:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;SQL&amp;gt;DELETE FROM exppkgact$ WHERE SCHEMA='EXFSYS';&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;SQL&amp;gt;EXIT&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;问题解决！&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2163585.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2011/09/02/2163585.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/QDuck/archive/2011/08/17/2142937.html</id><title type="text">Easy Table Partitions with SQL Server 2008（转sql2008表分区）</title><summary type="text">IntroductionWe all know we have to work with loads of data every day and over the time with the growth of the organization the data bank also grows tremendously. We see there is a performance degradation after few years or months. Is it the same SQL Server that was working efficiently in past is now</summary><published>2011-08-17T03:52:00Z</published><updated>2011-08-17T03:52:00Z</updated><author><name>QDuck</name><uri>http://www.cnblogs.com/QDuck/</uri></author><link rel="alternate" href="http://www.cnblogs.com/QDuck/archive/2011/08/17/2142937.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/QDuck/archive/2011/08/17/2142937.html"/><content type="html">&lt;h5 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 17px; font-size: 1.15em;"&gt;Introduction&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;We all know we have to work with loads of data every day and over the time with the growth of the organization the data bank also grows tremendously. We see there is a performance degradation after few years or months. Is it the same SQL Server that was working efficiently in past is now getting slower, it is not the SQL Server binaries that have changed, it is still the same efficient SQL Server but the growth of data and the way it is structured plays a big role in the performance.&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;In my experience I have seen that an inefficient query, badly built index, poorly structured database can eat up the entire resources on the server. If the best practices are followed then you will get good performance from the SQL Server. For the best practices on Physical Design of SQL Server Database visit:&lt;a title="http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx&lt;/a&gt;&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;Today I am going to discuss how easy it is for us to partition our tables for better performance with SQL Server 2008 (Katmai). I am not going to cover what is the criteria for partitioning your data because it is a long conversation topic. I am just going to highlight the SQL Server 2008 Management Studio's feature for table partitioning.&lt;/p&gt;&lt;h5 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 17px; font-size: 1.15em;"&gt;Partitioning Steps&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;You should partition your tables that has accumulated a lot of data over the time and you find that the performance is slowing down. It would not be a very good idea to partition a table it has&amp;nbsp; just a couple of hundred rows for example : Product Category table. You could partition your tables that contains a lot of transactions like Purchase Order tables, Sales Order tables, General Ledger Tables etc.&lt;/p&gt;&lt;h6 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 1.1em;"&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;Open the SQL Server 2008 management studio and select the appropriate table that needs to be partitioned. Right click on the table and in the context menu select Storage &amp;gt;&amp;gt; Create Partition.&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture1_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture1_2.jpg" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="772" alt="Picture1" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture1_thumb.jpg" width="574" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture1_thumb.jpg" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;h6 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 1.1em;"&gt;Step 2:&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;I am using the [Purchasing.WorkOrder] table in the 'AdventureWorks' sample database. When you select the above option a wizard dialog box appears, press the next button once.&lt;/p&gt;&lt;p align="justify" style="margin-top: 0px;"&gt;You will see a dialog box with the columns available for partition with data type, length etc. Select the column on which you would like to create a partition and press next.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture2_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture2_2.jpg" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="484" alt="Picture2" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture2_thumb.jpg" width="580" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture2_thumb.jpg" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;h6 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 1.1em;"&gt;Step 3:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Provide the name of the partition function and press Next.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture3_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture3_2.jpg" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="484" alt="Picture3" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture3_thumb.jpg" width="580" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture3_thumb.jpg" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;h6 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 1.1em;"&gt;Step 4:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Provide the name of the partition scheme and press next.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture4_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture4_2.jpg" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="484" alt="Picture4" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture4_thumb.jpg" width="580" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture4_thumb.jpg" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;h6 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 1.1em;"&gt;Step 5:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;You have to select the option Left Boundary or Right Boundary and then click the button that says Set Boundaries.&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Left boundary&amp;nbsp;&lt;/span&gt;&lt;br /&gt;The Boundary column label in the grid will dynamically display &amp;lt;= Boundary when you select Left boundary.&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Right boundary&amp;nbsp;&lt;br /&gt;&lt;/span&gt;Select to include range values up to the specified value in the Boundary column for each filegroup selected. The specified value will be the starting value for the range values of the filegroup on the next row. The Boundary column label in the grid will dynamically display &amp;lt; Boundary when you select Right boundary.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture5_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture5_2.jpg" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="484" alt="Picture5" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture5_thumb.jpg" width="580" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture5_thumb.jpg" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;A small dialog box appears with the caption "Set Boundary Values". Select the starting and ending date and select the Date Range from Monthly, Yearly, Quarterly, Half-Yearly , Daily and press OK. I am using End Date field for the partition in this demo.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/image_4.png" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="234" alt="image" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/image_thumb_1.png" width="352" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/image_thumb_1.png" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The above option will create the partition ranges for you. Select the appropriate File Group for each partition in the grid and then click on the 'Estimated Storage' button which will give you the details of the required space. Once you are happy with the results, please press 'Next'.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture6_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture6_2.jpg" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="484" alt="Picture6" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture6_thumb.jpg" width="580" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture6_thumb.jpg" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;h6 style="color: #260859; clear: both; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 1.1em;"&gt;Step 6:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;After pressing the 'Next' button you will get the option to create a script or to run it immediately or to schedule it for a later time. Depending on your requirements you can select the option and press the finish button.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture7_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture7_2.jpg" style="color: #0066dd; cursor: pointer; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial;"&gt;&lt;img height="484" alt="Picture7" src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture7_thumb.jpg" width="580" border="0" mce_src="http://blogs.msdn.com/blogfiles/manisblog/WindowsLiveWriter/EasyTablePartitions_672/Picture7_thumb.jpg" style="overflow-x: hidden; overflow-y: hidden; max-width: 100%; height: auto !important; border-color: initial; border-style: initial;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;See it's so easy to partition your tables and achieve better performance. Please keep a track of my blogs because I will soon come up with more blog posts, if you have any feedbacks or if you liked this article then please drop me an email. Thank you.&lt;/p&gt;&lt;img src="http://www.cnblogs.com/QDuck/aggbug/2142937.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/QDuck/archive/2011/08/17/2142937.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
