tag:blogger.com,1999:blog-51439789315331687132024-03-06T19:33:02.808-08:00Technologies matterfree to learnAnonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.comBlogger174125tag:blogger.com,1999:blog-5143978931533168713.post-36487371998586405552014-03-05T23:04:00.000-08:002014-03-05T23:04:45.412-08:00To replace htmltable with div using CSS<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<b>Issue: <o:p></o:p></b></div>
<div class="MsoNormal">
How to get tabular like layout using div.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>Solution:<o:p></o:p></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
There is an in-built <i>display</i> property support for
this with CSS 2.1.<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: red; font-family: Consolas; font-size: 8.0pt;">display</span></i><i><span style="font-family: Consolas; font-size: 8.0pt;">:
<span style="color: blue;">table</span>;<o:p></o:p></span></i></div>
<div class="MsoNormal">
<i><span style="color: red; font-family: Consolas; font-size: 8.0pt;">display</span></i><i><span style="font-family: Consolas; font-size: 8.0pt;">:
<span style="color: blue;">table-row</span>;<o:p></o:p></span></i></div>
<div class="MsoNormal">
<i><span style="color: red; font-family: Consolas; font-size: 8.0pt;">display</span></i><i><span style="font-family: Consolas; font-size: 8.0pt;">:
<span style="color: blue;">table-cell</span>;<o:p></o:p></span></i></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Having below CSS and html, we can achieve this:<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>CSS:<o:p></o:p></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="color: maroon; font-family: Consolas; font-size: 8.0pt;">.tabular</span><span style="font-family: Consolas; font-size: 8.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">display</span>:
<span style="color: blue;">table</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: maroon; font-family: Consolas; font-size: 8.0pt;">.tabular-row</span><span style="font-family: Consolas; font-size: 8.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">display</span>:
<span style="color: blue;">table-row</span>;<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">position</span>:
<span style="color: blue;">relative</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">height</span>:
<span style="color: blue;">26px</span>;<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: maroon; font-family: Consolas; font-size: 8.0pt;">.tabular-cell</span><span style="font-family: Consolas; font-size: 8.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">display</span>:
<span style="color: blue;">table-cell</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">height</span>:<span style="color: blue;">25px</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="color: maroon; font-family: Consolas; font-size: 8.0pt;">.tabular-cell-small</span><span style="font-family: Consolas; font-size: 8.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">display</span>:
<span style="color: blue;">table-cell</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">height</span>:<span style="color: blue;">25px</span>;<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">width</span>:<span style="color: blue;">50px</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="color: maroon; font-family: Consolas; font-size: 8.0pt;">.tabular-cell-medium</span><span style="font-family: Consolas; font-size: 8.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">display</span>:
<span style="color: blue;">table-cell</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">height</span>:<span style="color: blue;">25px</span>;<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">width</span>:<span style="color: blue;">114px</span>; <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>CSHtml sample:<o:p></o:p></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="color: blue; font-family: Consolas; font-size: 8.0pt;"><</span><span style="color: maroon; font-family: Consolas; font-size: 8.0pt;">div</span><span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: red;">class</span><span style="color: blue;">="<span style="background: yellow; mso-highlight: yellow;">tabular</span>"></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"><</span><span style="color: maroon;">div</span> <span style="color: red;">class</span><span style="color: blue;">="<span style="background: yellow; mso-highlight: yellow;">tabular-row</span>"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="prBatchEditLabelbg
<span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">h2</span><span style="color: blue;">></span><span style="background: yellow; mso-highlight: yellow;">@</span>Html.GetLocalizedString(<span style="color: #a31515;">"xxxxxxxxxxxx"</span>)<span style="color: blue;"></</span><span style="color: maroon;">h2</span><span style="color: blue;">></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="<span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>"></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"><</span><span style="color: maroon;">a</span> <span style="color: red;">class</span><span style="color: blue;">="helpButton"</span>
<span style="color: red;">title</span><span style="color: blue;">="</span><span style="background: yellow; mso-highlight: yellow;">@</span><span style="color: blue;">Html.GetLocalizedString(</span><span style="color: #a31515;">"xxxxxxxxxxxxxxx"</span><span style="color: blue;">)"</span> <span style="color: red;">href</span><span style="color: blue;">="#"</span> <span style="color: red;">tabindex</span><span style="color: blue;">="-1"></</span><span style="color: maroon;">a</span><span style="color: blue;">></span> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">div</span><span style="color: blue;">></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">div</span> <span style="color: red;">class</span><span style="color: blue;">="<span style="background: yellow; mso-highlight: yellow;">tabular-row</span>"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="xxxxxxxxxx <span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>-medium"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="background: yellow; mso-highlight: yellow;">@</span>Html.GetLocalizedString(<span style="color: #a31515;">"xxxxxxx"</span>)<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="xxxxxxxxxx <span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>-small"></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="xxxxxxxxxxx <span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>-medium"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="background: yellow; mso-highlight: yellow;">@</span>Html.GetLocalizedString(<span style="color: #a31515;">"xxxxxxxxxxxx"</span>)<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">div</span><span style="color: blue;">></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">div</span> <span style="color: red;">class</span><span style="color: blue;">="<span style="background: yellow; mso-highlight: yellow;">tabular-row</span>"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="xxxxxxxxxxxxxxxx <span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>"></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="background: yellow; mso-highlight: yellow;">@</span>Html.DropDownListFor(model
=> model.SelectedAccountXXXXX, <span style="color: blue;">new</span> <span style="color: #2b91af;">SelectList</span>(Model.AccountXXXXXXList, <span style="color: #a31515;">"Id"</span>, <span style="color: #a31515;">"Name"</span>,
Model.SelectedAccountXXXXX), <span style="color: blue;">new</span> { @id = <span style="color: #a31515;">"accountGroupList"</span>, datavaluerequired = <span style="color: #a31515;">"data-value-required"</span>, @class = <span style="color: #a31515;">"required"</span>, style = <span style="color: #a31515;">"width:175px"</span> }) <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span> <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="xxxxxxxxxx <span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>-small"></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="xxxxxxxxxxxxxxx <span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="background: yellow; mso-highlight: yellow;">@</span>Html.DropDownListFor(model
=> model.SelectedBankXXXXXX, <span style="color: blue;">new</span> <span style="color: #2b91af;">SelectList</span>(Model.BankXXXXList, <span style="color: #a31515;">"Id"</span>, <span style="color: #a31515;">"Name"</span>,
Model.SelectedBankXXXX), <span style="color: blue;">new</span> { @id = <span style="color: #a31515;">"bankList"</span>, datavaluerequired = <span style="color: #a31515;">"data-value-required"</span>, @class = <span style="color: #a31515;">"required"</span>, style = <span style="color: #a31515;">"width:175px"</span> }) <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="prBatchEditLabelbg <span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>-medium"></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"><</span><span style="color: maroon;">span</span> <span style="color: red;">class</span><span style="color: blue;">="<span style="background: yellow; mso-highlight: yellow;">tabular-cell</span>-medium"></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"><</span><span style="color: maroon;">button</span> <span style="color: red;">class</span><span style="color: blue;">="rounded"></span><span style="background: yellow; mso-highlight: yellow;">@</span>Html.GetLocalizedString(<span style="color: #a31515;">"prXXXXXX"</span>)<span style="color: blue;"></</span><span style="color: maroon;">button</span><span style="color: blue;">></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">span</span><span style="color: blue;">></span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;">
<span style="color: blue;"></</span><span style="color: maroon;">div</span><span style="color: blue;">></span>
<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8.0pt;"> <span style="color: blue;"></</span><span style="color: maroon;">div</span><span style="color: blue;">><o:p></o:p></span></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Reference:<o:p></o:p></div>
<div class="MsoNormal">
<a href="http://www.quirksmode.org/css/display.html">http://www.quirksmode.org/css/display.html</a><o:p></o:p></div>
<div class="MsoNormal">
<a href="http://www.quirksmode.org/css/display.html#table">http://www.quirksmode.org/css/display.html#table</a><o:p></o:p></div>
<br />
<div class="MsoNormal">
<a href="http://developer.practicalecommerce.com/articles/1941-CSS-display-table-display-table-row-and-display-table-cell-">http://developer.practicalecommerce.com/articles/1941-CSS-display-table-display-table-row-and-display-table-cell-</a><o:p></o:p></div>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com4tag:blogger.com,1999:blog-5143978931533168713.post-7894370549746417492014-03-03T01:18:00.000-08:002014-03-03T01:21:25.833-08:00Integrate ie 10 with visual studio 2010 debugging<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="border: 0px; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
There is a simpler fix for the JavaScript debugging issue in IE10:</div>
<ol style="border: 0px; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.804800033569336px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1em 30px; padding: 0px; vertical-align: baseline;">
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Close IE</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><div style="background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
In elevated cmd prompt run this command:</div>
<pre style="background-color: white; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><code style="border: 0px; color: black; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
</code></pre>
</li>
</ol>
<div style="border: 0px; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
(or <code style="background-color: white; border: 0px; color: black; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">%ProgramFiles%</code> on a 32-bit OS)</div>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com2tag:blogger.com,1999:blog-5143978931533168713.post-34133259755782450992013-12-02T01:57:00.000-08:002013-12-02T01:57:09.418-08:00How do I make background-size work in IE 8 and below versions?<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">A bit late, but this could also be useful. There is an IE filter, for IE 5.5+, which you can apply:</span><br />
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"><br /></span>
<pre class="default prettyprint prettyprinted" style="background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><code style="border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;"><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">filter</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> progid</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="typ" style="background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">DXImageTransform</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="typ" style="background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">Microsoft</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="typ" style="background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;">AlphaImageLoader</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">(</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
src</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="str" style="background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;">'images/logo.gif'</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">,</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
sizingMethod</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="str" style="background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;">'scale'</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">);</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">ms</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">filter</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">:</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="str" style="background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;">"progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/logo.gif',
sizingMethod='scale')"</span><span class="pun" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">;</span></code></pre>
<div style="background-color: white; border: 0px; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
However, this scales the entire image to fit in the allocated area. So if your using a sprite, this may cause issues.</div>
<div style="background-color: white; border: 0px; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
Specification: <a href="http://msdn.microsoft.com/en-us/library/ms532969%28v=vs.85%29.aspx" style="background-color: transparent; border: 0px; color: #4a6b82; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">AlphaImageLoader Filter @microsoft</a></div>
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">But this will not allow the links and buttons on the div clickable, for the workaround you need to change the z-index of the div or panel like below:</span><br />
<pre class="bbcode_code" style="-webkit-box-shadow: none !important; background-color: #f1f1f1; background-image: none; border: 1px inset; color: #333333; direction: ltr; font-size: 12px; height: 372px; line-height: 12px; overflow: scroll; padding: 6px;">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<style>
html,body{height:100%}
body{
margin:0px;
padding:0px;
background-image: url(http://deadline.webism.nl/styles/default/images/achtergronden/default.gif);
text-align:left;
background-position: 980px top;
background-repeat: no-repeat;
}
#container{ /* fix voor 100% background bij lange pagina's */
width:1028px;
background-image: url(http://deadline.webism.nl/shadowPNG24-1028.png);
background-repeat: repeat-y;
min-height:100%;
}
* html #container { /* to make the shadow work in IE6 */
background: none;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src='http://deadline.webism.nl/shadowPNG24-1028.png', sizingMethod='scale');
height:100%;
}
#inner{position:relative;z-index:999;}
</style>
</head>
<body>
<div id="container">
<div id="inner">
inhoud <a href="http://www.blogger.com/blogger.g?blogID=5143978931533168713#">link</a> b jkdsf<br />
vdf<br />
v<br />
dfv<br />
dfs<br />
v<br />
dfv<br />
dsf<br />
v<br />
dsf<br />
v<br />
inhoud <a href="http://www.blogger.com/blogger.g?blogID=5143978931533168713#">link</a> b jkdsf<br />
sdf<br />
v<br />
dsf<br />
v<br />
fdsv<br />
sdf<br />
v<br />
dsf<br />
v<br />
fdsv<br />
fds<br />
v<br />
dfsv<br />
dsf<br />
vsd<br />
<br />
</div>
</div>
</body>
</html></pre>
<br />
courtesy: <a href="http://stackoverflow.com/questions/2991623/how-do-i-make-background-size-work-in-ie">http://stackoverflow.com/questions/2991623/how-do-i-make-background-size-work-in-ie</a><br />
<a href="http://www.sitepoint.com/forums/showthread.php?462588-filter-progid-DXImageTransform-Microsoft-AlphaImageLoader-problem-in-IE6">http://www.sitepoint.com/forums/showthread.php?462588-filter-progid-DXImageTransform-Microsoft-AlphaImageLoader-problem-in-IE6</a></div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com3tag:blogger.com,1999:blog-5143978931533168713.post-28331833518973976722013-11-27T00:50:00.001-08:002013-11-27T00:50:35.279-08:00Block unwanted Ads in your system<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://winhelp2002.mvps.org/hosts.htm">http://winhelp2002.mvps.org/hosts.htm</a></div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com6tag:blogger.com,1999:blog-5143978931533168713.post-69085737121249611262013-05-13T02:58:00.002-07:002013-05-13T03:17:35.940-07:00Find Nth Maximum value<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<strong>"How do I find Nth maximum value?"</strong> is one of the most asked questions</div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<br />
Here are some methods </div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
I explain how to find 5th Maximum value</div>
<div class="syntaxhighlighter " id="highlighter_335030" style="background-color: rgb(231, 229, 220) !important; background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 885.84375px;">
<div class="lines" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">01.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">declare</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">table</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">integer</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">) </code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">02.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"> </span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">03.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(3456)</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">04.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(846)</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">05.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(1456)</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">06.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(3098)</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">07.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(34)</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">08.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(67856)</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">09.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(906)</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">10.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(34656)</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">11.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(9056)</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">12.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Insert</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">into</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">values</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(3036)</code></span></span></div>
</div>
</div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<strong>(1) Use Inner Join</strong></div>
<div class="syntaxhighlighter " id="highlighter_905592" style="background-color: rgb(231, 229, 220) !important; background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 885.84375px;">
<div class="lines" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">1.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">t1.num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number t1 </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">inner</code> <code class="color1" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(128, 128, 128) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">join</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number t2 </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">on</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">t1.num<=t2.num</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">2.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">group</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">by</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">t1.num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">having</code> <code class="color2" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">count</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(t1.num)=5</code></span></span></div>
</div>
</div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<strong>(2) Use Top Operator</strong></div>
<div class="syntaxhighlighter " id="highlighter_226791" style="background-color: rgb(231, 229, 220) !important; background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 885.84375px;">
<div class="lines" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">1.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Select</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">top</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">1 num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">2.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">3.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 56px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Select</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">top</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">5 num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">order</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">by</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">desc</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">4.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">) T</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">5.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">order</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">by</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">asc</code></span></span></div>
</div>
</div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<strong>(3) Generate Serial No based on descending order of the</strong></div>
<div class="syntaxhighlighter " id="highlighter_993189" style="background-color: rgb(231, 229, 220) !important; background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 885.84375px;">
<div class="lines" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">1.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">2.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">3.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 56px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Select</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="color2" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">count</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(*) </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">where</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num>=T.num)</code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">as</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Sno ,num</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">4.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 56px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">as</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">T</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">5.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">) </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">as</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">temp</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">6.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">where</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Sno=5</code></span></span></div>
</div>
</div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<strong>(4) Generate Serial No based on descending order of the values in where Clause</strong></div>
<div class="syntaxhighlighter " id="highlighter_469877" style="background-color: rgb(231, 229, 220) !important; background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 885.84375px;">
<div class="lines" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">1.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">as</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">n</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">2.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">where</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="color2" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">count</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(*) </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">where</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num>=n.num)=5</code></span></span></div>
</div>
</div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<strong>(5) Use Aggregate</strong></div>
<div class="syntaxhighlighter " id="highlighter_361898" style="background-color: rgb(231, 229, 220) !important; background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 885.84375px;">
<div class="lines" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">1.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Select</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">min</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(num) </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">top</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">5 num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">order</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">by</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">desc</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">) T</code></span></span></div>
</div>
</div>
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<strong>(6) Use Row_number() function</strong></div>
<div class="syntaxhighlighter " id="highlighter_188693" style="background-color: rgb(231, 229, 220) !important; background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 885.84375px;">
<div class="lines" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">1.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">2.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">3.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 56px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">select</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num, row_number() over (</code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">order</code> <code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">by</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">num </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">desc</code><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">) </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">as</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">sno </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">from</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@number</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">4.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">) </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">as</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">t</code></span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">5.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">where</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">sno=5</code></span></span></div>
<div class="line alt2" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">6.</code><span class="content" style="background-color: rgb(248, 248, 248) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"> </span></span></div>
<div class="line alt1" style="background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;">7.</code><span class="content" style="background-color: rgb(255, 255, 255) !important; background-image: none !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-width: 0px 0px 0px 3px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px 0px 0px 3.3em !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="block" style="background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 1.5em !important; position: static !important; right: auto !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important; z-index: 100;"><code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Now you can </code><code class="color2" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 20, 147) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">replace</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">5 </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">to</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">the number that you want </code><code class="keyword" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 102, 153) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">to</code> <code class="plain" style="background-image: none !important; border: 0px !important; bottom: auto !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">find the maximum value </code></span></span></div>
</div>
</div>
<br />
<br />
<div style="color: #cceecc; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px;">
<b>General SQL query should be as follows</b>
<br />
<br /></div>
</div>
<code class="number" style="background-image: none !important; border: 0px !important; bottom: auto !important; color: #cceecc !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0.3em 0px 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important;">select sal from emp a where N = (select count(distinct sal) from emp b where a.sal <= b.sal)
where N = any value.</code></div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com14tag:blogger.com,1999:blog-5143978931533168713.post-38840573489913803002013-05-02T02:04:00.000-07:002013-05-02T02:05:07.953-07:00Using Profiler to get list of SPs on some specific pages in application<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<ol style="border: 0px; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1em 30px; padding: 0px; vertical-align: baseline;">
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">Run Profiler</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">Choose TSQ_SPs Template</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">On the Event Selection tab select "Show all columns" checkbox</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">On the same page check only one event: SP:Completed</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">On Colum Filters set filters for ApplicationName, DatabaseName, HostName, LoginName. Actually it's enough only DatabaseName and HostName. HostName as my computer name, because I run application locally from VS.</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">Save Trace properties as Template.</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">Run trace</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">Run application.</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">Before loading required page clean trace</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">Open page and pressing different buttons and controls on the page</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;">After you finished with all actions on the page, save Trace as Trace Table to db.</li>
<li style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;"><div style="background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;">
Running the following query:</div>
<div style="background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;">
SELECT DISTINCT ObjectName FROM SPTableName</div>
<div style="background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;">
and getting list of SPs for this page. DISTINCT allows you to eliminate repeating SPs, because on each page SPs run many times.</div>
</li>
</ol>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com7tag:blogger.com,1999:blog-5143978931533168713.post-21415705210328213902013-04-30T23:45:00.003-07:002013-05-02T02:08:42.586-07:00SQL SERVER – Get Time in AM/PM Format<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: #f3f3f3; color: #61636a; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 11px; line-height: 17px; text-align: center;">Syntax to Get SQL DateTime With Am/Pm Format:</span><br />
<span style="background-color: #f3f3f3; color: #61636a; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 11px; line-height: 17px; text-align: center;"><br /></span>
<br />
<span style="color: blue; font-family: 'Courier New'; font-size: 13px; text-align: justify;">SELECT</span><br />
<span style="color: magenta; font-family: 'Courier New'; font-size: 13px; font-weight: bold; text-align: justify;">GETDATE</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: blue; font-family: 'Courier New'; font-size: 13px; text-align: justify;">AS</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: maroon; font-family: 'Courier New'; font-size: 13px; text-align: justify;">CurrentDate</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><br />
<span style="color: magenta; font-family: 'Courier New'; font-size: 13px; font-weight: bold; text-align: justify;">RIGHT</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="color: magenta; font-family: 'Courier New'; font-size: 13px; font-weight: bold; text-align: justify;">CONVERT</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">VARCHAR</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: magenta; font-family: 'Courier New'; font-size: 13px; font-weight: bold; text-align: justify;">GETDATE</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">100</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">7</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: blue; font-family: 'Courier New'; font-size: 13px; text-align: justify;">AS</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"></span><span style="color: maroon; font-family: 'Courier New'; font-size: 13px; text-align: justify;">CurrentTime</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><br />
<span style="color: magenta; font-family: 'Courier New'; font-size: 13px; font-weight: bold; text-align: justify;">CONVERT</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">VARCHAR</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">10</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: magenta; font-family: 'Courier New'; font-size: 13px; font-weight: bold; text-align: justify;">GETDATE</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">101</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">+</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> <span style="color: maroon;">'</span></span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> <span style="color: maroon;">'</span></span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">+</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"></span><span style="color: blue; font-family: 'Courier New'; font-size: 13px; text-align: justify;">RIGHT</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="color: maroon; font-family: 'Courier New'; font-size: 13px; text-align: justify;">CONVERT</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="color: maroon; font-family: 'Courier New'; font-size: 13px; text-align: justify;">VARCHAR</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: maroon; font-family: 'Courier New'; font-size: 13px; text-align: justify;">GETDATE</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">(</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">100</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">,</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;">7</span><span style="color: silver; font-family: 'Courier New'; font-size: 13px; text-align: justify;">)</span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"> </span><span style="color: blue; font-family: 'Courier New'; font-size: 13px; text-align: justify;">AS </span><span style="font-family: 'Courier New'; font-size: 13px; text-align: justify;"></span><span style="color: maroon; font-family: 'Courier New'; font-size: 13px; text-align: justify;">CurrentDateTime</span></div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com4tag:blogger.com,1999:blog-5143978931533168713.post-32691030614567674332013-04-24T07:35:00.001-07:002013-04-24T07:35:56.280-07:00Difference between Data Contract and Message Contract in WCF<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">Data Contracts:</span><br />
<br style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;" />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">WCF data contracts provide a mapping function between .NET CLR types that are defined in code and XML Schemas Definitions defined by the W3C organization (www.w3c.org/) that are used for communication outside</span><br />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">the service.</span><br />
<br style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;" />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">Message Contracts:</span><br />
<br style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;" />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">Message contracts describe the structure of SOAP messages sent to and from a service and enable you to inspect and control most of the details in the SOAP header and body. Whereas data contracts enable interoperability through the XML Schema Definition (XSD) standard, message contracts enable you to interoperate with any system that communicates through SOAP. Using message contracts gives you complete control over the SOAP message sent to and from a service by providing access to the SOAP headers and bodies directly. This allows use of simple or complex types to define the exact content of the SOAP parts.</span><br />
<br style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;" />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">2. Why is it useful to pass information in SOAP headers with Message contract?</span><br />
<br style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;" />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">Passing information in SOAP headers is useful if you want to communicate information “out of band” from the operation signature. For instance, session or correlation information can be passed in headers, rather than adding additional parameters to operations or adding this information as fields in the data itself. Another example is security, where you may</span><br />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">want to implement a custom security protocol (bypassing WS-Security) and pass credentials or tokens in custom SOAP headers. A third example, again with security, is signing and encrypting SOAP headers, where you may want to sign and/or encrypt some or all header information. All these cases can be handled with message contracts. The downside with this technique is that the client and service must manually add and retrieve the information from the SOAP header, rather than having the serialization classes associated with data and operation contracts do it for you.</span><br />
<br style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;" />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">3. Can't mix datacontracts and messagecontracts.</span><br />
<br style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;" />
<span style="color: #ff6666; font-family: 'Segoe UI', Helvetica, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px;">Because message-based programming and parameter-based programming cannot be mixed, so you cannot specify a DataContract as an input argument to an operation and have it return a MessageContract, or specify a MessageContract as the input argument to an operation and have it return a DataContract. You can mix typed and untyped messages, but not messageContracts and DataContracts. Mixing message and data contracts will cause a runtime error when you generate WSDL from the service.</span></div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com8tag:blogger.com,1999:blog-5143978931533168713.post-64096903029220127212012-09-04T05:25:00.000-07:002013-03-14T23:11:07.441-07:00Calling an exe from Windows Service<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #e69138;"><br /></span>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">Some times we may need to call an exe from our windows service program. The following code can be used to call an exe from an appication. The sample code is for VB.NET applications. Here the calculator (calc.exe) is called.</span></div>
<div style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;"><br />
Dim startInfo As System.Diagnostics.ProcessStartInfo</span><br />
<span style="color: #e69138;">Dim pStart As New System.Diagnostics.Process</span></div>
<div style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">'Start the process</span></div>
<div style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">startInfo = New System.Diagnostics.ProcessStartInfo("calc.exe")</span></div>
<div style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">pStart.StartInfo = startInfo</span></div>
<div style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">pStart.Start()</span></div>
<div style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">pStart.WaitForExit()</span></div>
<div style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">pStart.Close()</span><br />
<span style="color: #e69138;">Here<br />pStart.WaitForExit() makes your application wait till the called exe is closed.<br />pStart.Close() will free all the resources that are associated with this component.</span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">This will work if you are using a windows Application. But in a windows service this will not work straight, you need to change some setting for the windows service. A service won't be able to show the GUI of an application, so if the application you are calling has any GUI you won't be able to see it. But the process will get kicked off and you can see the evidence in TaskManager. But we can enable the service to popup the UI by enabling this settings.</span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
</div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
</div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
</div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;"><strong></strong></span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<strong><span style="color: #e69138;">Allow Services to interact with desktop</span></strong></div>
<ol style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<li style="background-image: url(http://www.blogblog.com/tictac_blue/tictac_blue.gif); background-position: 0% 6px; background-repeat: no-repeat no-repeat; list-style: none; margin-bottom: 3px; padding-left: 14px;"><div align="justify">
<span style="color: #e69138;">Start -> Run -> Services.msc</span></div>
</li>
<li style="background-image: url(http://www.blogblog.com/tictac_blue/tictac_blue.gif); background-position: 0% 6px; background-repeat: no-repeat no-repeat; list-style: none; margin-bottom: 3px; padding-left: 14px;"><div align="justify">
<span style="color: #e69138;">Locate the services which you have created</span></div>
</li>
<li style="background-image: url(http://www.blogblog.com/tictac_blue/tictac_blue.gif); background-position: 0% 6px; background-repeat: no-repeat no-repeat; list-style: none; margin-bottom: 3px; padding-left: 14px;"><div align="justify">
<span style="color: #e69138;">Right click and select properties.</span></div>
</li>
<li style="background-image: url(http://www.blogblog.com/tictac_blue/tictac_blue.gif); background-position: 0% 6px; background-repeat: no-repeat no-repeat; list-style: none; margin-bottom: 3px; padding-left: 14px;"><div align="justify">
<span style="color: #e69138;">Select "Log On" tab on the top of the screen</span></div>
</li>
<li style="background-image: url(http://www.blogblog.com/tictac_blue/tictac_blue.gif); background-position: 0% 6px; background-repeat: no-repeat no-repeat; list-style: none; margin-bottom: 3px; padding-left: 14px;"><div align="justify">
<span style="color: #e69138;">Select "Allow Services to interact with desktop" check box.</span></div>
</li>
<li style="background-image: url(http://www.blogblog.com/tictac_blue/tictac_blue.gif); background-position: 0% 6px; background-repeat: no-repeat no-repeat; list-style: none; margin-bottom: 3px; padding-left: 14px;"><div align="justify">
<span style="color: #e69138;">Click on "Apply" and start the services.</span></div>
</li>
</ol>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
</div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">If you want to kill an application during Windows Service Stop, try the following code</span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
</div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
</div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
</div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">Dim myProcess As Process</span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">Dim myProcesses As Process() = Process.GetProcessesByName("calc")</span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">For Each myProcess In myProcesses</span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">myProcess.Kill()</span></div>
<div align="justify" style="font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;">
<span style="color: #e69138;">Next</span></div>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com11tag:blogger.com,1999:blog-5143978931533168713.post-20202507731011426522012-08-13T03:59:00.001-07:002013-03-14T23:19:53.297-07:00Windows 7 trick: unlock the secret God Mode folder<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #b45f06; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;">So, what exactly is God Mode in Windows 7? </span><br />
<span style="color: #b45f06;"><br style="font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;" /></span>
<span style="color: #b45f06; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;">Well, for starters, it's not really a mode. And it's nothing you need to be a deity to pull off, either.</span><br />
<span style="color: #b45f06;"><br style="font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;" /></span>
<span style="color: #b45f06; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;">Rather, it's a folder packed with shortcuts to just about every settings change and administrative function in Windows 7. Everything you'll find in the Action Center, Backup and Restore, Autorun, Desktop Gadgets, Devices and Printers -- it's all there. All dumped in one central location for easy access.</span><br />
<span style="color: #b45f06;"><br style="font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;" /></span>
<span style="color: #b45f06;"><span style="font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;">No, this trick doesn't involve entering IDDQD in the run box - but it's just about that simple. Here's the magic, as provided by the guys at </span><a href="http://windows7themes.net/windows-7-enable-secret-godmode.html" style="border: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px; margin: 0px; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;">Windows 7 Themes</a><span style="font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;">:</span></span><br />
<ul style="border: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1; margin: 1.5em; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; font-family: inherit; font-style: inherit; line-height: 1.5em; margin: 0px; padding: 0px 0px 0.6em; vertical-align: baseline;"><span style="color: #b45f06;">Create a new folder anywhere (I set mine up in d:\)</span></li>
<li style="border: 0px; font-family: inherit; font-style: inherit; line-height: 1.5em; margin: 0px; padding: 0px 0px 0.6em; vertical-align: baseline;"><span style="color: #b45f06;">Rename the folder and paste in the following text: <strong>GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}</strong></span></li>
</ul>
<span style="color: #b45f06; font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.383333206176758px;">That's it! You've now got your new, somewhat handy folder. Why somewhat handy? Well, because you can already access everything in there by typing a few letters into the search box on your start menu. </span></div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com16tag:blogger.com,1999:blog-5143978931533168713.post-36106280297932616202012-07-20T00:08:00.002-07:002012-07-20T00:08:46.622-07:00Free E-book: Time-Saving VS11 and ASP.NET 4.5 Features You Shouldn’t Miss<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://www.telerik.com/campaigns/visual-studio-2012.aspx">http://www.telerik.com/campaigns/visual-studio-2012.aspx</a>
</div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com7tag:blogger.com,1999:blog-5143978931533168713.post-315822558052566942012-07-19T23:15:00.000-07:002012-07-19T23:15:04.939-07:00SQL Server: Easily detect if a table or other object exists<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;">Generally people write as below to check whether table or object exists:</span>
<br />
<br />
<br />
<span style="font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 15px; line-height: 16px; text-indent: -22.17599868774414px;">IF EXISTS (SELECT * FROM sys.objects</span>
<br />
<span style="background-color: #f8f8f8; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 15px; line-height: 16px; text-indent: -22.17599868774414px;">WHERE object_id = OBJECT_ID(N'[dbo].[TableName]')</span>
<br />
<span style="font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 15px; line-height: 16px; text-indent: -22.17599868774414px;">AND type in (N'U'))</span>
<br />
<span style="background-color: #f8f8f8; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 15px; line-height: 16px; text-indent: -22.17599868774414px;"> DROP TABLE [dbo].[TableName];</span>
<br />
<div>
<br /></div>
<div>
<span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;">However, this is more complicated than needed. You can just do this:</span>
</div>
<div>
<span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;"><br /></span></div>
<div>
<span style="font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 15px; line-height: 16px; text-indent: -22.17599868774414px;">IF Object_ID('dbo.TableName', 'U') IS NOT NULL DROP TABLE dbo.TableName;</span>
</div>
<div>
<span style="font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 15px; line-height: 16px; text-indent: -22.17599868774414px;"><br /></span></div>
<div>
<span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;">The second parameter of Object_ID accepts any value from the </span><code style="color: #333333; line-height: 19px; text-align: -webkit-auto;">xtype</code><span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;"> column of the </span><code style="color: #333333; line-height: 19px; text-align: -webkit-auto;">sysobjects</code><span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;"> table. </span><code style="color: #333333; line-height: 19px; text-align: -webkit-auto;">U</code><span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;"> is for </span><em style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;">user table</em><span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;">.</span>
</div>
<div>
<span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;"><br /></span></div>
<div>
<span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;">To check for temp tables and temp stored procedures, do this:</span>
</div>
<div>
<span style="color: #333333; font-family: Arial, Helvetica; font-size: 15px; line-height: 19px; text-align: -webkit-auto;"><br /></span></div>
<div>
<span style="font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 15px; line-height: 16px; text-indent: -22.17599868774414px;">IF Object_ID('tempdb.dbo.#TableName', 'U') IS NOT NULL DROP TABLE #TableName;</span>
</div>
</div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com3tag:blogger.com,1999:blog-5143978931533168713.post-26917263250618431242012-07-18T05:38:00.003-07:002013-03-14T23:21:43.562-07:00How to Set Auto file transfers between Dropbox and Android devices?<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<h6 style="color: #444444; font-family: BebasNeueRegular, Arial, sans-serif; font-size: 1.4em; font-weight: normal; line-height: 1.2em; margin: 0px 0px 20px; padding: 0px; text-align: justify;">
Transfer files between Dropbox and Android devices using Cloudpipes</h6>
<div style="color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; margin-top: 15px; padding: 0px; text-align: justify;">
Cloud storage has provided a new direction in terms of file sharing and saving, initially it was really hard job to carry along important files but now with cloud storage you can access your files any where irrespective of the devices. Moreover you can easily share your media files and other documents as well. <strong style="margin: 0px; padding: 0px;">Dropbox</strong> is an effective tool to store and share different types of files. <strong style="margin: 0px; padding: 0px;">Cloudpipes</strong> is an application which provides auto-file transfer between Dropbox and<strong style="margin: 0px; padding: 0px;"><a href="http://www.thewikimag.com/applications/android-applications/" style="color: #4c8eb9; margin: 0px; padding: 0px; text-decoration: none;" target="_blank">Android</a></strong> devices. Let’s see how can we do it?</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.thewikimag.com/wp-content/uploads/2012/07/Cloudpipes_Add_Pipe.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://www.thewikimag.com/wp-content/uploads/2012/07/Cloudpipes_Add_Pipe.png" style="cursor: move;" width="192" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.thewikimag.com/wp-content/uploads/2012/07/Cloudpipes_settings.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://www.thewikimag.com/wp-content/uploads/2012/07/Cloudpipes_settings.png" width="192" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<ul style="color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px; margin: 10px 0px 10px 35px; padding: 0px; text-align: -webkit-auto;">
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;">Install <strong style="margin: 0px; padding: 0px;"><a href="https://play.google.com/store/apps/details?id=com.maximussoft.cloudpipes" rel="nofollow" style="color: #4c8eb9; margin: 0px; padding: 0px; text-decoration: none;" target="_blank">Cloudpipes here</a></strong></li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;">Run the application and sign in using Dropbox user-name and password.</li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;">Tap the menu and choose <strong style="margin: 0px; padding: 0px;">Add Pipe</strong>.</li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;"><span style="background-color: white;">Give a name to your pipe, choose</span><span style="background-color: white;"> </span><em style="margin: 0px; padding: 0px;">Download</em><span style="background-color: white;"> </span><span style="background-color: white;">to transfer files from Dropbox to your Android device or select</span><span style="background-color: white;"> </span><em style="margin: 0px; padding: 0px;">Upload </em><span style="background-color: white;">to do the reverse.</span></li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;"><span style="background-color: white;">Choose your</span><span style="background-color: white;"> </span><strong style="margin: 0px; padding: 0px;">Source</strong><span style="background-color: white;"> </span><span style="background-color: white;">and</span><span style="background-color: white;"> </span><strong style="margin: 0px; padding: 0px;">Destination</strong><span style="background-color: white;"> </span><span style="background-color: white;">folder.</span></li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;"><span style="background-color: white;">Choose from the options, whether to</span><span style="background-color: white;"> </span><em style="margin: 0px; padding: 0px;">Copy Files</em><span style="background-color: white;"> </span><span style="background-color: white;">or to</span><span style="background-color: white;"> </span><em style="margin: 0px; padding: 0px;">Move</em><span style="background-color: white;"> </span><span style="background-color: white;">them from the source to the destination folder.</span></li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;"><span style="background-color: white;">You can also Filter your files and organize them in terms of file type.</span></li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;"><span style="background-color: white;">Schedule your file transfers. (If you set it to run more often, your battery will run out quickly as well)</span></li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;"><span style="background-color: white;">Hit </span><strong style="margin: 0px; padding: 0px;">Save</strong><span style="background-color: white;"> and your new Pipe has been created, you can change its settings whenever you want.</span></li>
<li style="list-style-image: none !important; margin: 0px; padding: 3px 0px; text-align: justify;"><span style="background-color: white;">Get back to Main Screen, Choose </span><strong style="margin: 0px; padding: 0px;">Menu</strong><span style="background-color: white;"> button and hit </span><em style="margin: 0px; padding: 0px;">Settings</em><span style="background-color: white;">. You can save your battery and data usage by choosing options such as </span><strong style="margin: 0px; padding: 0px;">“Connect only on Wi-Fi”</strong><span style="background-color: white;"> or </span><strong style="margin: 0px; padding: 0px;">“Connect only when plugged in”.</strong><span style="background-color: white;"> Furthermore you can change your default download directory and Notification settings here as well.</span></li>
</ul>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com16tag:blogger.com,1999:blog-5143978931533168713.post-29638734149043085102012-06-28T02:47:00.004-07:002013-03-14T23:20:59.650-07:00Page Processing and events in asp.net<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #b45f06;"><br /></span>
<h5 style="font-family: verdana, geneva, helvetica; font-size: 13px; line-height: 19px; margin: 0px; padding: 0px 0px 0px 15px; text-decoration: inherit;">
<span style="color: #b45f06;">
Processing Page Requests</span></h5>
<span style="color: #b45f06; font-family: verdana, geneva, helvetica; font-size: x-small; line-height: 19px;">When an initial request for a page (a Web Form) is received by ASP.NET, it locates and loads the requested Web Form (and if necessary compiles the code). It is important to understand the sequence of events that occurs when a Web Forms page is processed. This knowledge will help you program your Web Forms pages and Web applications more effectively.</span><br />
<div style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin-bottom: 1.5em; margin-top: 1.5em; padding: 0px; text-decoration: inherit;">
<span style="color: #b45f06;">As described before, initial page requests are relatively simple. The real work gets done when a page is submitted to itself - and a postback request is generated. Here are a few notes on postback requests:</span></div>
<ul style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin: 1.5em 0px; padding: 0px; position: relative; text-decoration: inherit; z-index: 0;">
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">The <b>current value</b> of every control on a Web Form is contained in the postback request. This is referred to as the <i>Post Data</i></span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">The content of the <i>ViewState</i> is also contained in the Post Data. ViewState holds the<b>original</b> property values of every control on a Web Form - <b>before</b> the user made any changes</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">If a postback was caused, for example, by a button click, Post Data is used to identify the button that caused the postback</span></li>
</ul>
<h5 style="font-family: verdana, geneva, helvetica; font-size: 13px; line-height: 19px; margin: 0px; padding: 0px 0px 0px 15px; text-decoration: inherit;">
<span style="color: #b45f06;">
Postback Event Processing Sequence</span></h5>
<span style="color: #b45f06; font-family: verdana, geneva, helvetica; font-size: x-small; line-height: 19px;">Here are the events (and the order) that are raised when a Button is clicked and a postback occurs:</span><br />
<ol style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin: 1.5em 0px; padding: 0px; position: relative; text-decoration: inherit; z-index: 0;">
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;"><b>Page.Init</b> + <b>Control.Init</b> for every control on the Web Form<br />The first stage in the page life cycle is <i>initialization</i>. After the page's control tree is populated with all the statically declared controls in the .aspx source the <i>Init</i> event is fired. First, the Init event for the Page object occurs, then <i>Init</i> event occurs for each control on the Page. Viewstate information is not available at this stage.</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;"><b>Page.LoadViewState</b><br />After initialization, ASP.NET loads the view state for the page. ViewState contains the state of the controls the last time the page was processed on the server.</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;"><b>Page.ProcessPostData</b><br />Post Data gets read from the request and control values are applied to control initalized in stage 1.</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;"><b>Page.Load</b> + <b>Control.Load</b> for each control on the Page<br />If this is the first time the page is being processed (Page.IsPostback property), initial data binding is performed here.</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">"<b>Change</b>" events are fired for controls (TextChanged, SelectedIndexChanged, and similar)<br />The current value (from Post Data) is compared to the original value located in the ViewState. If there is a difference "Changed" events are raised.</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">Server-side events are fired for any <b>validation</b> controls</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;"><b>Button.Click</b> + <b>Button.Command</b><br />The Click and Command events are fired for the button that caused the postback</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;"><b>Page.PreRender</b> + <b>Control.PreRender</b></span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;"><b>Page.SaveViewState</b><br />New values for all the controls are saved to the view state for another round-trip to the server.</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: decimal; margin: 0px 0px 0px 30px; padding: 0px; text-decoration: inherit;"><b><span style="color: #b45f06;">Page.Render</span></b></li>
</ol>
<div style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin-bottom: 1.5em; margin-top: 1.5em; padding: 0px; text-decoration: inherit;">
<span style="color: #b45f06;">A more detailed explanation of the postback processing can be found in the "<a href="http://delphi.about.com/gi/dynamic/offsite.htm?site=http://msdn.microsoft.com/asp.net/default.aspx%3Fpull=/library/en%2Dus/dnaspp/html/aspnet%2Dpageobjectmodel.asp" style="cursor: pointer; font-family: inherit; font-size: 13px; font-style: inherit; margin: 0px; padding: 0px;"><b>The ASP.NET Page Object Model</b> - One Day in the Life of an ASP.NET Web Page</a>" article.</span><br />
<span style="color: #b45f06;">"<i>Learn about the eventing model built around ASP.NET Web pages and the various stages that a Web page experiences on its way to HTML. The ASP.NET HTTP run time governs the pipeline of objects that transform the requested URL into a living instance of a page class first, and into plain HTML text next. Discover the events that characterize the lifecycle of a page and how control and page authors can intervene to alter the standard behavior</i>"</span></div>
<h5 style="font-family: verdana, geneva, helvetica; font-size: 13px; line-height: 19px; margin: 0px; padding: 0px 0px 0px 15px; text-decoration: inherit;">
<span style="color: #b45f06;">
ViewState - the all mighty!</span></h5>
<span style="color: #b45f06; font-family: verdana, geneva, helvetica; font-size: x-small; line-height: 19px;">As you can see from the postback steps, the ViewState has a major role in ASP.NET. Viewstate is a collection of name/value pairs, where control's and page itself store information that is persistent among web requests.</span><br />
<div style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin-bottom: 1.5em; margin-top: 1.5em; padding: 0px; text-decoration: inherit;">
<span style="color: #b45f06;">"<a href="http://delphi.about.com/gi/dynamic/offsite.htm?site=http://msdn.microsoft.com/library/default.asp%3Furl=/library/en%2Dus/dnaspp/html/viewstate.asp" style="cursor: pointer; font-family: inherit; font-size: 13px; font-style: inherit; margin: 0px; padding: 0px;"><b>Understanding ASP.NET View State</b></a>" looks at how an ASP.NET page maintains its state changes across postbacks, examining:</span></div>
<div style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin-bottom: 1.5em; margin-top: 1.5em; padding: 0px; text-decoration: inherit;">
</div>
<ul style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin: 1.5em 0px; padding: 0px; position: relative; text-decoration: inherit; z-index: 0;">
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">The ASP.NET Page Life Cycle</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">The Role of View State</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">The Cost of View State</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">How View State is Serialized/Deserialized</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">Specifying Where to Store the View State Information (see how to store it in a file on the Web server rather than as a bloated hidden form field)</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">Programmatically Parsing the View State</span></li>
<li style="font-family: inherit; font-size: 13px; font-style: inherit; list-style-type: disc; margin: 0px 0px 0px 18px; padding: 0px; text-decoration: inherit;"><span style="color: #b45f06;">View State and Security Implications</span></li>
</ul>
<div style="font-family: verdana, geneva, helvetica; font-size: small; line-height: 19px; margin-bottom: 1.5em; margin-top: 1.5em; padding: 0px; text-decoration: inherit;">
<span style="color: #b45f06;">Note: if you need to examine the ViewState while debugging, try the <a href="http://delphi.about.com/gi/dynamic/offsite.htm?site=http://blogs.msdn.com/b/rextang/archive/2007/05/25/2868250.aspx" style="cursor: pointer; font-family: inherit; font-size: 13px; font-style: inherit; margin: 0px; padding: 0px;">Page ViewState Parsers</a></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com6tag:blogger.com,1999:blog-5143978931533168713.post-73896991041041547342012-06-28T02:46:00.001-07:002013-03-14T23:23:39.496-07:00Show Page Load Time in Web Pages<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #b45f06;"><span style="color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 12px; line-height: 18px; text-align: -webkit-auto;">When testing performance for an individual ASP.NET page, it's often useful to be able to see how long the page took to render. The bar-none easiest way to achieve this is to simply add Trace="true" to the <%@ Page %> directive, which will yield results like this:</span>
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://ardalis.com/files/media/image/WindowsLiveWriter/ShowPageLoadTime_A79B/image_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="color: #b45f06;"><img border="0" src="http://ardalis.com/files/media/image/WindowsLiveWriter/ShowPageLoadTime_A79B/image_2.png" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 0.923em; line-height: 18px; margin-bottom: 5px; margin-top: 5px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<span style="color: #b45f06;">However, often times this won't play nicely with CSS on the page, so you can achieve similar results on a separate URL by adding <trace enabled="true" pageoutput="false"> to your web.config's <system .web=""> section. Then, simply navigate to your web application folder path and add /trace.axd to the request and you'll be able to choose from a list of requests.</system></trace></span></div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 0.923em; line-height: 18px; margin-bottom: 5px; margin-top: 5px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<span style="color: #b45f06;">In addition to the timings, the trace output also shows a ton of other stuff, which sometimes is more than you need and can be distracting if all you really care about is how fast the page loaded. To achieve something "good enough" for most purposes, you can add something like the following to your <a href="http://aspadvice.com/blogs/ssmith/archive/2006/09/14/Ultimate-ASP.NET-Base-Page-Class.aspx" style="border: 0px; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">base page class</a> or master page:</span></div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 13px; line-height: 18px; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<div style="background-color: #f4f4f4; border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; font-style: inherit; line-height: 12pt; margin: 0px; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;">
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;">DateTime startTime = DateTime.Now;</span></pre>
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;"><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">protected</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">override</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">void</span> OnPreRender(EventArgs e)</span></pre>
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;">{</span></pre>
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;"> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">base</span>.OnPreRender(e);</span></pre>
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;"> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">this</span>.LoadTime.Text = (DateTime.Now - startTime).TotalMilliseconds.ToString();</span></pre>
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;"> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">this</span>.ServerTime.Text = DateTime.Now.ToString();</span></pre>
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;">}</span></pre>
</div>
</div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 0.923em; line-height: 18px; margin-bottom: 5px; margin-top: 5px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<span style="color: #b45f06;"><br /></span>
<span style="color: #b45f06;">This example is from a master page that includes the following in its markup:</span></div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 13px; line-height: 18px; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<div style="background-color: #f4f4f4; border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; font-style: inherit; line-height: 12pt; margin: 0px; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;">
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;"><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">div</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">id</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">="footer"</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">></span>Load Time: <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">asp:Literal</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">runat</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">="server"</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">ID</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">="LoadTime"</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/></span> ms<span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">br</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/></span></span></pre>
<pre style="border: 0px none; font-family: consolas, 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; outline: 0px; overflow: visible; padding: 0px; vertical-align: baseline; width: 630px;"><span style="color: #b45f06;">Server Time: <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">asp:Literal</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">runat</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">="server"</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">ID</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">="ServerTime"</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/><</span><span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">br</span> <span style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/></span></span></pre>
</div>
</div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 0.923em; line-height: 18px; margin-bottom: 5px; margin-top: 5px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<span style="color: #b45f06;"><br /></span>
<span style="color: #b45f06;">This approach doesn't include some of the time spent on rendering logic, but does include everything else the page is doing, such as expensive calls to web services, the file system, or the database, and so it does a good job of showing whether or not changes to such access are improving the overall page load time (or not).</span></div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 0.923em; line-height: 18px; margin-bottom: 5px; margin-top: 5px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<span style="color: #b45f06;">Phil Haack has an alternative approach that <a href="http://haacked.com/archive/2008/07/02/httpmodule-for-timing-requests.aspx" style="border: 0px; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">uses an HttpModule to insert the page load time into the page's HTML</a>. The code as written can have some issues with JSON callbacks from UpdatePanels, but some of the comments on the post describe techniques to avoid this. The nice thing about an HttpModule is that you don't need to duplicate the code in other projects or pages. Once you have your own HttpModule for doing page timing, you can add it to any projects you like, and it's easily included in developer builds and not in production builds through the use of separate web.config files in each environment (which in all likelihood is already in place).</span></div>
<div style="border: 0px; color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 0.923em; line-height: 18px; margin-bottom: 5px; margin-top: 5px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<span style="color: #b45f06;">It's also worth noting that Phil's example uses the <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx" style="border: 0px; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">System.Diagnostics.Stopwatch</a> class, which provides greater accuracy than simply comparing DateTimes directly. For something like this, where we're looking at full page load times, the extra accuracy is typically not needed, but it's an important class to know about for when you're timing small bits of code to try and determine which is faster down to a few milliseconds (or less). On some systems the Stopwatch may not be any faster - you can check if the currently running environment supports higher resolution timing by using the <strong style="border: 0px; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">IsHighResolution</strong> property.</span></div>
<span style="color: #b45f06;"><br /></span>
<span style="color: #333333; font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif; font-size: 12px; line-height: 18px; text-align: -webkit-auto;"><br /></span></div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com4tag:blogger.com,1999:blog-5143978931533168713.post-74601107908479615042012-06-15T05:08:00.003-07:002013-03-14T23:24:52.676-07:00Simulating ItemCommand Event<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;"><br /></span>
<h3 class="post-title entry-title" style="color: #333333; font-family: sans-serif; font-size: 18px; font-weight: normal; margin: 0px; position: relative; text-align: -webkit-auto;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;">
Simulating ListView’s ItemCommand Event</span></h3>
<div class="post-header" style="color: #999999; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 11px; line-height: 1.6; margin: 0px 0px 1.5em; text-align: -webkit-auto;">
<div class="post-header-line-1">
</div>
</div>
<div class="post-body entry-content" style="color: #333333; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 12px; line-height: 1.4; position: relative; text-align: -webkit-auto; width: 528px;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;">Data controls in asp.net like GridView, DataList, Repeater, ListView,… are having an event called ItemCommand.</span><br />
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;">This event will raise whenever any button, linkbutton,… are clicked.</span><br />
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;">But my requirement is to call the ItemCommand event whenever the ListView.Databind() is done.</span><br />
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;">Below is the procedure I followed for that.</span><br />
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;"><span style="font-size: 9.5pt;">System.Web.UI.WebControls.</span><span style="font-size: 9.5pt;">LinkButton lnkbtn = (System.Web.UI.WebControls.LinkButton)lvMyAlbums.Items[0].FindControl("lnkAlbum");</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;"><span style="font-size: 9.5pt;"> </span><span style="font-size: 9.5pt;">ListViewCommandEventArgs ev = newListViewCommandEventArgs(lvMyAlbums.Items[0], lnkbtn, newCommandEventArgs(lnkbtn.CommandName, lnkbtn.CommandArgument));</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;"><span style="font-size: 9.5pt;"> </span><span style="font-size: 9.5pt;">// Call ItemCommand handler</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;"><span style="font-size: 9.5pt;"> </span><span style="font-size: 9.5pt;">lvMyAlbums_OnItemCommand(lvMyAlbums, ev);</span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif; font-size: 9.5pt;"><br /></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif; line-height: 16px;">Similary we can simulate grid ItemCommand as shown below:</span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif; font-size: 9.5pt;"><br /></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
</div>
<div class="MsoNormal">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;"><span style="color: #2b91af; font-family: "Courier New"; font-size: 9.5pt; mso-fareast-language: EN-IN;">LinkButton</span><span style="font-family: "Courier New"; font-size: 9.5pt; mso-fareast-language: EN-IN;">
lnk = (LinkButton)RadGridPeople.Items[0].FindControl("lnkPeopleName");<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="color: #b45f06; font-family: Trebuchet MS, sans-serif; font-size: 9.5pt; mso-fareast-language: EN-IN;">
GridCommandEventArgs ev = new GridCommandEventArgs(RadGridPeople.Items[0],
lnk, new CommandEventArgs(lnk.CommandName,
lnk.CommandArgument));<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Courier New"; font-size: 9.5pt; mso-fareast-language: EN-IN;"><span style="color: #b45f06; font-family: Trebuchet MS, sans-serif;">
RadGridPeople_ItemCommand(RadGridPeople, ev);</span><o:p></o:p></span></div>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com4tag:blogger.com,1999:blog-5143978931533168713.post-28648326145684991292012-06-05T01:56:00.001-07:002013-03-14T23:25:27.961-07:00Xbox SmartGlass<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #b45f06;"><br /></span>
<h1 class="headline title" style="border: 0px; font-family: Georgia, Times, 'Liberation Serif', serif; font-size: 26px; font-weight: inherit; line-height: 1.2; margin: 3px 0px 0.4em; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<span style="color: #b45f06;">
What Is Xbox SmartGlass?</span></h1>
<div class="post-body" style="border: 0px; color: #222222; font-family: Georgia, Times, 'Liberation Serif', serif; font-size: 15px; line-height: 1.5; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;">
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;"><a href="http://kotaku.com/5915340/microsoft-wants-to-stream-console-games-to-phones-turning-handhelds-into-xbox-live-companions" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">As expected</a>, Microsoft just announced something called SmartGlass at E3. Less expected? Just how awesome SmartGlass turned out to be. What could have been just an Apple AirPlay imitation, is something more ambitious. Something that could change television forever. But what is it, exactly?</span></div>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">It's the lifeline that'll make your dumb TV smart.</span></div>
<h2 style="border: 0px; font-family: proxima-nova-condensed-1, proxima-nova-condensed-2, sans-serif; font-size: 24px; font-style: inherit; font-weight: inherit; line-height: 1.2; margin: 0px 0px 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">
SmartGlass is an app...</span></h2>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">SmartGlass is a new app that turns your phone or tablet into another screen for your TV, another controller for a game, a companion feature for a show, a remote control for the Internet and more. More importantly, it'll work with iOS, Android and Windows, so you won't need to buy new hardware to fit into its ecosystem.</span></div>
<h2 style="border: 0px; font-family: proxima-nova-condensed-1, proxima-nova-condensed-2, sans-serif; font-size: 24px; font-style: inherit; font-weight: inherit; line-height: 1.2; margin: 0px 0px 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">
...that connects your phone, tablet or computer with your Xbox 360...</span></h2>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">SmartGlass does more than just push video and audio around. It turns the Xbox 360 into the beating heart of a multi-screen media experience in your living room. A tablet, phone or computer running SmartGlass essentially becomes a second and third screen for your TV.</span></div>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">A concrete example: As Game of Thrones was being shown on the TV via Xbox 360, a SmartGlass-enabled tablet displayed a map of Westeros and other relevant information about the show. Content can either be pushed from the tablet/phone/computer to the 360, or from the 360 directly to the TV. SmartGlass connects all of those devices to make content engrossing on multiple levels. Your individual devices don't have to ignore each other, they'll work together to entertain you more.</span></div>
<h2 style="border: 0px; font-family: proxima-nova-condensed-1, proxima-nova-condensed-2, sans-serif; font-size: 24px; font-style: inherit; font-weight: inherit; line-height: 1.2; margin: 0px 0px 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">
...and works with games, movies, TV shows and the Internet..</span></h2>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">But SmartGlass can be used with more than just movies and TV shows. Microsoft also showed how a gamer could use a tablet as a separate playbook while playing Madden on the Xbox. Even further, Microsoft will finally bring Internet Explorer to the Xbox, with SmartGlass turning your phone into mouse. Sure, it's silly to surf the web on your television with an old and gray keyboard and mouse setup—unless the keyboard and mouse are your phone and tablet.</span></div>
<h2 style="border: 0px; font-family: proxima-nova-condensed-1, proxima-nova-condensed-2, sans-serif; font-size: 24px; font-style: inherit; font-weight: inherit; line-height: 1.2; margin: 0px 0px 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">
...to make your living room a lot smarter...</span></h2>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">Microsoft very clearly wants to make the Xbox 360 the center of your living room transformation. It's the hub that powers everything. But if the Xbox 360 is the heart and the brain, SmartGlass gives users the limbs needed for a full functional, self-sufficient media beast. Combined with the Xbox's growing dominance as a top-flight streaming box, and you've got yourself a potentially very powerful monster.</span></div>
<h2 style="border: 0px; font-family: proxima-nova-condensed-1, proxima-nova-condensed-2, sans-serif; font-size: 24px; font-style: inherit; font-weight: inherit; line-height: 1.2; margin: 0px 0px 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">
...and it's all because of the Xbox.</span></h2>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">If you think about it, Microsoft's vision of the living room of the future is a throwback to what the company has already known and mastered: the PC. It's smartening up the living room by using the Xbox as the PC, the TV as the monitor, the phone and tablet as the keyboard and mouse, Kinect as its futureproof wild card technology. SmartGlass, then, plays the role of Windows, seamlessly connecting everything.</span></div>
<div style="border: 0px; color: #333333; font-family: inherit; font-style: inherit; margin-bottom: 13px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="color: #b45f06;">But the real key to SmartGlass is its openness. Bring your own tools, Microsoft is saying. It doesn't matter. Because however you control it, all that really matters is the Xbox. And that's all Microsoft.</span></div>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com13tag:blogger.com,1999:blog-5143978931533168713.post-74121386444449846722012-04-19T00:21:00.002-07:002013-03-14T23:26:59.884-07:00how to clear/manage remembered passwords on windows<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #b45f06;"><br /></span>
<h3 id="tocHeadRef" style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 13px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
</h3>
<h3 id="tocHeadRef" style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 13px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<span style="color: #b45f06;">
How to Manage Stored User Names and Passwords</span></h3>
<span style="color: #b45f06;"><b style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px;">NOTE</b><span style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px;"> If you use an administrative account to log on the computer, follow these steps:</span></span><br />
<ol style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 16px; margin-left: 40px; margin-right: 0px; margin-top: 16px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;">
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">Click <b>Start</b>, and then click <b>Control Panel</b>.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In Control Panel, click <b>User Accounts</b> under <strong class="uiterm">Pick a category</strong> to open the <b>User Accounts</b> dialog box appears.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">On the <b>Users</b> tab, click the user that you want, and then click the <b>Advanced</b> tab.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">Click the <b>Manage Passwords</b> button to open the <strong class="uiterm">Stored User Names and Passwords</strong> dialog box. A list of stored user names and passwords similar to the following may appear:</span><div class="indent" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;">
<span style="color: #b45f06;">*.Microsoft.com</span><br />
<span style="color: #b45f06;">Passport.Net\*(Passport)</span></div>
</li>
</ol>
<span style="color: #b45f06; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px;">If you use a restricted user account to log on the computer, follow these steps:</span><br />
<ol style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 16px; margin-left: 40px; margin-right: 0px; margin-top: 16px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;">
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">Click <strong class="uiterm">Start</strong>, click <strong class="uiterm">Run</strong>, type <span class="userInput" style="font-weight: bold;">Control Userpasswords2</span>, and then press ENTER.<br /><br /><b>Note</b> The following message may occur:</span><div class="kb_errormsgbody" style="border-bottom-color: rgb(127, 186, 226); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(127, 186, 226); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(127, 186, 226); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(127, 186, 226); border-top-style: solid; border-top-width: 12px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative;">
<div class="kb_errorcontent" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-color: rgb(127, 186, 226); border-bottom-style: solid; border-bottom-width: 0px; border-image: initial; border-left-color: rgb(127, 186, 226); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(127, 186, 226); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(127, 186, 226); border-top-style: solid; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 516px;">
<div class="errormsg" style="color: #333333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-height: 20px; padding-bottom: 20px; padding-left: 10px; padding-right: 10px; padding-top: 10px; position: relative;">
<span style="color: #b45f06;">You must be a member of the Administrators group on this computer to open User Accounts. You are logged on as <var>user name</var>, and this account is not a member of the Administrators group.</span></div>
</div>
</div>
<span style="color: #b45f06;">
In this condition, you are required to type the user name and password when the system prompts the dialog box to type the user name and password of the administrator of the computer.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">Click the <strong class="uiterm">Advanced</strong> tab, and then click <strong class="uiterm">Manage Passwords</strong>.</span></li>
</ol>
<h4 id="tocHeadRef" style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<span style="color: #b45f06;"><a href="http://www.blogger.com/blogger.g?blogID=5143978931533168713" id="4"></a>To Add an Entry</span></h4>
<ol style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 16px; margin-left: 40px; margin-right: 0px; margin-top: 16px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;">
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <strong class="uiterm">Stored User Names and Passwords</strong> dialog box, click <b>Add</b> to open the <b>Logon Information Properties</b> dialog box.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <b>Server</b> box, type the name of the server or share that you want. You can use an asterisk as a "wildcard" character. The following example entries are valid server names:</span><div class="indent" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;">
<span class="userInput" style="color: #b45f06; font-weight: bold;">*.Microsoft.com</span><br />
<span class="userInput" style="color: #b45f06; font-weight: bold;">\\<var>Server</var>\<var>Share</var></span></div>
</li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <strong class="uiterm">User name</strong> box, type the name of the user account that has permission to access the resource. Type the user name in the <var>Server</var>\<var>User</var> or <var>User</var>@<var>domain</var>.com name format. The following are examples of valid user name entries:</span><div class="indent" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;">
<span class="userInput" style="color: #b45f06; font-weight: bold;">Microsoft\<var>User</var></span><br />
<span class="userInput" style="color: #b45f06; font-weight: bold;"><var>User</var>@microsoft.com</span></div>
</li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <b>Password</b> box, type the password for the user that you entered in step 3, and then click <b>OK</b>.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <strong class="uiterm">Stored User Names and Passwords</strong> dialog box, click <b>Close</b>.</span></li>
</ol>
<h4 id="tocHeadRef" style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<span style="color: #b45f06;"><a href="http://www.blogger.com/blogger.g?blogID=5143978931533168713" id="5"></a>To Remove an Entry</span></h4>
<ol style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 16px; margin-left: 40px; margin-right: 0px; margin-top: 16px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;">
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <strong class="uiterm">Stored User Names and Passwords</strong> dialog box, click the credential that you want, and then click <b>Remove</b>. The following message is displayed:</span><div class="kb_errormsgbody" style="border-bottom-color: rgb(127, 186, 226); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(127, 186, 226); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(127, 186, 226); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(127, 186, 226); border-top-style: solid; border-top-width: 12px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative;">
<div class="kb_errorcontent" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-color: rgb(127, 186, 226); border-bottom-style: solid; border-bottom-width: 0px; border-image: initial; border-left-color: rgb(127, 186, 226); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(127, 186, 226); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(127, 186, 226); border-top-style: solid; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 516px;">
<div class="errormsg" style="color: #333333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-height: 20px; padding-bottom: 20px; padding-left: 10px; padding-right: 10px; padding-top: 10px; position: relative;">
<span style="color: #b45f06;">The selected logon information will be deleted.</span></div>
</div>
</div>
</li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">Click <b>OK</b>.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <strong class="uiterm">Stored User Names and Passwords</strong> dialog box, click <b>Close</b>.</span></li>
</ol>
<h4 id="tocHeadRef" style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<span style="color: #b45f06;"><a href="http://www.blogger.com/blogger.g?blogID=5143978931533168713" id="6"></a>To Edit an Entry</span></h4>
<ol style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 16px; margin-left: 40px; margin-right: 0px; margin-top: 16px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit; text-align: left;"><ol style="margin-bottom: 16px; margin-left: 40px; margin-right: 0px; margin-top: 16px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;">
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <strong class="uiterm">Stored User Names and Passwords</strong> dialog box, click the credential that you want, and then click <b>Properties</b>. The <b>Logon Information Properties</b> dialog box is displayed.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">Change the items that you want, and then click <b>OK</b>.<br /><br />If you want to change the domain password for the user account that is specified in the <strong class="uiterm">User name</strong>box, click <b>Change</b>. Type the old password and new password into the corresponding boxes, type the new password into the <strong class="uiterm">Confirm new password</strong> box, and then click <b>OK</b>. The domain password is changed.</span></li>
<li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: inherit;"><span style="color: #b45f06;">In the <strong class="uiterm">Stored User Names and Passwords</strong> dialog box, click <b>Close</b>.</span></li>
</ol>
</ol>
<span style="font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 11px; line-height: 16px;">reference: <a href="http://support.microsoft.com/kb/306992">http://support.microsoft.com/kb/306992</a></span></div>
Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com2tag:blogger.com,1999:blog-5143978931533168713.post-76060499123702752052012-03-08T04:43:00.003-08:002012-03-08T04:43:46.189-08:00Unable to update the EntitySet ... because it has a DefiningQuery and no element exists<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
This is the case for me. Simply removing <definingquery> resulted in another error. I followed the steps of this post except the last one. For your convenience, I copied the 4 steps from the post that I followed to solve the problem as following:</definingquery><br />
<br />
Right click on the edmx file, select Open with, XML editor<br />
Locate the entity in the edmx:StorageModels element<br />
Remove the DefiningQuery entirely<br />
Rename the store:Schema="dbo" to Schema="dbo" (otherwise, the code will generate an error saying the name is invalid)<br />
<br />
<a href="http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/220262bd-85d4-4f29-96a8-4a7d1d2c8293">http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/220262bd-85d4-4f29-96a8-4a7d1d2c8293</a><br />
</div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com2tag:blogger.com,1999:blog-5143978931533168713.post-75968315419628440722012-03-01T04:14:00.004-08:002012-03-01T04:16:37.273-08:00Open source Apps useful for all ages<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<b>Pre-school kids</b><br />
<br />
<a href="http://goo.gl/40fLv">http://goo.gl/40fLv</a><br />
<a href="http://goo.gl/9Be4P">http://goo.gl/9Be4P</a><br />
<a href="http://goo.gl/p9VLs">http://goo.gl/p9VLs</a><br />
<a href="http://goo.gl/v6YVy">http://goo.gl/v6YVy</a><br />
<a href="http://goo.gl/Drt6H">http://goo.gl/Drt6H</a><br />
<br />
<b>School kids</b><br />
<br />
iTALC- OpenSource Classroom Management<br />
<a href="http://goo.gl/6DjcY">http://goo.gl/6DjcY</a><br />
<br />
E-Learning Application Suite<br />
<a href="http://goo.gl/6B2x9">http://goo.gl/6B2x9</a><br />
<br />
<b>High school</b><br />
<br />
<a href="http://goo.gl/uzMbo">http://goo.gl/uzMbo</a><br />
<a href="http://goo.gl/bP4xm">http://goo.gl/bP4xm</a><br />
<a href="http://goo.gl/tZ41A">http://goo.gl/tZ41A</a><br />
<a href="http://goo.gl/i7yt6">http://goo.gl/i7yt6</a><br />
<a href="http://goo.gl/hGSHL">http://goo.gl/hGSHL</a><br />
<br />
<b>Office Apps</b><br />
<br />
<a href="http://goo.gl/fksNs">http://goo.gl/fksNs</a><br />
<a href="http://goo.gl/YrVRX">http://goo.gl/YrVRX</a><br />
<a href="http://goo.gl/vEyaV">http://goo.gl/vEyaV</a><br />
<a href="http://goo.gl/pFz5k">http://goo.gl/pFz5k</a><br />
<br />
<b>Games</b><br />
<br />
<a href="http://goo.gl/Twg1y">http://goo.gl/Twg1y</a><br />
<a href="http://goo.gl/z4LKQ">http://goo.gl/z4LKQ</a><br />
<a href="http://goo.gl/HXek8">http://goo.gl/HXek8</a><br />
<a href="http://goo.gl/Sr1Ru">http://goo.gl/Sr1Ru</a><br />
<a href="http://goo.gl/OorOL">http://goo.gl/OorOL</a><br />
<br />
<b>Utilities</b><br />
<br />
<a href="http://goo.gl/LhTEq">http://goo.gl/LhTEq</a><br />
<a href="http://goo.gl/VVgvl">http://goo.gl/VVgvl</a><br />
<a href="http://goo.gl/2cw6U">http://goo.gl/2cw6U</a></div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com5tag:blogger.com,1999:blog-5143978931533168713.post-9191767598374363842012-02-27T22:39:00.000-08:002012-02-27T22:39:06.022-08:00Flash Memory (NAND, NOR) overview<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Flash memory has become a powerful and cost-effective solid-state storage technology widely<br />
used in mobile electronics devices and other consumer applications. Two major forms of Flash<br />
memory, NAND Flash and NOR Flash, have emerged as the dominant varieties of non-volatile<br />
semiconductor memories utilized in portable electronics devices. NAND Flash, which was<br />
designed with a very small cell size to enable a low cost-per-bit of stored data, has been used<br />
primarily as a high-density data storage medium for consumer devices such as digital still<br />
cameras and USB solid-state disk drives. NOR Flash has typically been used for code storage<br />
and direct execution in portable electronics devices, such as cellular phones and PDAs. <br />
<br />
<a href="http://download.micron.com/pdf/datasheets/flash/nand/2gb_nand_m29b.pdf">http://download.micron.com/pdf/datasheets/flash/nand/2gb_nand_m29b.pdf</a>
<br />
<a href="http://umcs.maine.edu/~cmeadow/courses/cos335/Toshiba%20NAND_vs_NOR_Flash_Memory_Technology_Overviewt.pdf">http://umcs.maine.edu/~cmeadow/courses/cos335/Toshiba%20NAND_vs_NOR_Flash_Memory_Technology_Overviewt.pdf</a>
<br />
<a href="http://media.kingston.com/pdfs/FlashMemGuide.pdf">http://media.kingston.com/pdfs/FlashMemGuide.pdf</a>
<br />
</div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com6tag:blogger.com,1999:blog-5143978931533168713.post-64239514821189418872012-02-27T01:05:00.001-08:002012-02-27T01:05:47.540-08:0030 Popular Free Android Games<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: justify;"><strong><strong>Must Have Best Free Android Games : </strong></strong></h2>
<p style="text-align: justify;"><strong>1) <a href="https://market.android.com/details?id=com.seventeenbullets.android.island&feature=search_result" target="_blank">Paradise Island</a> : </strong>This is really fun oriented free stimulation game for the people who love sea, sun and beaches. You can build your own sunny island of your wish. The game allows you to run your own business and attract rich tourists. In this game you can create your own empire. You can build Casino’s, Hotel’s, Entertainment center’s, Restaurant’s and Disco’s to entertain tourists. You can create your own resort and manage it accordingly. The rich graphics are very beautiful and be careful since its a extremely addictive game. I bet you will love this game and its gameplay. Click here to download the App from android market : <a href="https://market.android.com/details?id=com.seventeenbullets.android.island&feature=search_result" target="_blank">Download</a> <strong> </strong></p>
<p style="text-align: justify;"><strong>2) <a href="https://market.android.com/details?id=com.rovio.angrybirdsrio&feature=search_result" target="_blank">Angry Bird Rio</a> :</strong> This is a very popular game loved by millions of users world wide. In this game you can destroy the greedy pigs fortresses! Angry Bird Rio is a extension of its original game Angry bird. Here in this story mode, the other angry birds are caged and are shipped to Rio.They get very angry with this and want to take revenge on the pigs. You can find two friends Blu and Jewel fighting for there friends to set them free.The excellent game play will give a real film experience to the user.There are a total of 60 levels with hidden fruits and exciting gifts. You will love the game when you find the smugglers and take them out. You can download the app from android market : <a href="https://market.android.com/details?id=com.rovio.angrybirdsrio&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">3) <strong><a href="https://market.android.com/details?id=com.RunnerGames.game.YooNinja_Lite&feature=search_result" target="_blank">Yoo Ninja! FREE</a> : </strong>Be careful while playing this game in you android. Because this is very addictive game which never ends. This fast paced gravity game is very famous and liked by many gamers. The game must be playing by jumping up and down to avoid obstacles. Maintain constant speed and accuracy. This one touch arcade games is very simple.You can find a story mode with 34 different levels. You can also find the endless mode, where you can play for days. There are 4 different worlds and the ending of the story mode is excellent. You can download the app from android market : <a href="https://market.android.com/details?id=com.RunnerGames.game.YooNinja_Lite&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">4) <strong><a href="https://market.android.com/details?id=com.bfs.papertoss&feature=search_result" target="_blank">Paper Toss</a> : </strong>A very famous game before when its launched in android. This is most awaiting game by android users who wanted to have fun with a office environment. Guess so many people have played this game already in there office. I mean playing with a piece of paper and throwing it here and there to pass time. Most of us target a empty basket or a dustbin to throw a piece of paper made into a ball shaped. This game is some what similar to that kind of stuff. The game is very realistic and fun. The graphics are really awesome and you can play the game in 6 different levels. The most fun part is, you can hear all sounds which are made in a office and also co-workers shouting at you. Don’t miss this game if you really want some office fun. You can download the app from android market : <a href="https://market.android.com/details?id=com.bfs.papertoss&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">5) <a href="https://market.android.com/details?id=com.magmamobile.game.BubbleBlast2&feature=search_result" target="_blank"><strong>Bubble Blast 2</strong></a><strong> : </strong>Bubble blast is a game where there is a start but no end. you can play the games for ages. This game is a puzzle game in which we have to blast bubbles to trigger in a chain reaction to eliminate them. The game offers two modes. One is arcade and another is puzzle mode. There are around 3500 levels where the scores are being provided by Score loop.You can download the app from android market : <a href="https://market.android.com/details?id=com.magmamobile.game.BubbleBlast2&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">6) <a href="https://market.android.com/details?id=com.storm8.worldwar&feature=search_result" target="_blank"><strong>World War™</strong></a><strong> :</strong> This is a massive Multiplayer online game which is played by millions of people everyday. In this game we run with a good story mode of 2012 nuclear war which will create history and 5 countries will merge to become a massive force with superpowers in this war. You can battle with other players live. You can found millions of people playing the game online. Around 2.8millions of player will be active every time when you login.You can download the app from android market : <a href="https://market.android.com/details?id=com.storm8.worldwar&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">7) <strong><a href="https://market.android.com/details?id=com.com2us.sliceit&feature=search_result" target="_blank">Slice It! ®</a> :</strong> This award winning game is really awesome to play.This is a silver award winning pocket game. The game is a brain game which have very good levels of puzzles and once you slice it, you cant stop it. We have to slice a piece of area into same dimensions. This puzzle game is very interesting and very addictive. It has over 180 different stages and available in different language. You can download the app from android market : <a href="https://market.android.com/details?id=com.com2us.sliceit&feature=search_result" target="_blank">Download </a></p>
<!-- Quick Adsense WordPress Plugin: http://techmilieu.com/quick-adsense -->
<div style="float:left;margin:10px 10px 10px 0;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-2210193039665626";
/* Text black white ad */
google_ad_slot = "1280456491";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p style="text-align: justify;">8 ) <a href="https://market.android.com/details?id=com.dragonplay.liveholdempro&feature=search_result" target="_blank"><strong>Live Holdem Poker Pro</strong></a><strong> :</strong> If you want to play poker with millions of people online, then this is the best app for you. You can join the android network to play with millions of real people like Pro’s, Semi-Pro’s, and Beginners. You can join the no : 1 Texas Hold’em community on the Android Network and play with millions from Facebook and Google android.You can get 12K free chips and 1000 Diamonds on registration + 5000 chips for free every day.Also you can use personal avatars and there is live chat included. You can enter the shootout tournament mode and have awesome challenges. You can download the app from android market : <a href="https://market.android.com/details?id=com.dragonplay.liveholdempro&feature=search_result" target="_blank">Download </a></p>
<p style="text-align: justify;">9) <strong><a href="https://market.android.com/details?id=org.mhgames.jewels&feature=search_result">Jewels</a> : </strong>How can anyone miss this wonderful game ? Jewels is very simple game, but quite polished and fun match 3 puzzle game.The game is very addictive. I sit hours playing this game. You can complete with players all over the world. Global, cross-platform leader boards and many more. The graphics are really neat and clean, the game is very smooth.The game has four different modes, Normal, Timed, Quick and Infinite and also the game is available for iphone. You can download the app from android market : <a href="https://market.android.com/details?id=org.mhgames.jewels&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">10) <a href="https://market.android.com/details?id=com.magmamobile.game.mousetrap&feature=search_result" target="_blank"><strong>Mouse Trap</strong></a><strong> :</strong> This simple puzzle game is very addictive and very interesting. All you have to do is to find the way out of a mouse which is trapped. You can do it by sliding the blocks out of the mouse way and unblock each of the maze. You can unlock bonuses and gain coins as the game progresses. With the gain coins you can unlock various level packs and hidden features in the game bonus store. There are 1200 levels which require excess amount of patience, skill and logic. If you have that then take out the mouse from the maze 1200 times. You can find some challenging puzzles and bonus level which are really lot of fun.You can download the app from android market : <a href="https://market.android.com/details?id=com.magmamobile.game.mousetrap&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">12) <a href="https://market.android.com/details?id=me.zed_0xff.android.alchemy&feature=search_result" target="_blank"><strong>Alchemy</strong></a><strong> :</strong> This game is very famous and loved by million of people today. The game is very simple and straight. You have four basic elements Fire, Water, Earth and Air. All you have do is to combine them and there products to get new elements around 200 and more. You can create many things like Life, Beer, Vampires and etc.There are total 370 elements. So try the game once if you really love to pass your time.You can download the app from android market : <a href="https://market.android.com/details?id=me.zed_0xff.android.alchemy&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">13) <a href="https://market.android.com/details?id=com.clapfootgames.tankhero&feature=search_result" target="_blank"><strong>Tank Hero</strong></a><strong> :</strong> Tank hero is a well known game. This game provides a fast paced 3D action on your android. You can battle through different arenas and become a Tank Hero.There are a lot of cunning enemies in you way so take out your enemies with cannons, heat seekers, and howitzers. The OpenGL 3D graphics are really awesome and you have 80 levels with two environments. There are two modes of gameplay, one is campaign and other is survival mode. You can choose 5 types of weapons and AI tanks. You can also find Multi Touch and Trackball control schemes <img src='http://www.coolpctips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> You can download the app from android market : <a href="https://market.android.com/details?id=com.clapfootgames.tankhero&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">14) <a href="https://market.android.com/details?id=com.storm8.imobsters&feature=search_result" target="_blank"><strong>iMobsters™</strong></a><strong> :</strong> This Massively Mafia Multiplayer game connects you to over two millions of players. You will start you career as a small thief and will grow to a Mafia Don by bringing others into you mob. You can fight with others in the mobsters online with Multiplayer mode. Millions of mafia players are online now. Just go and give it a try. The best part is you can fight them LIVE! You can download the app from android market : <a href="https://market.android.com/details?id=com.storm8.imobsters&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">15) <a href="https://market.android.com/details?id=com.magicwach.rdefense_free&feature=search_result" target="_blank"><strong>Robo Defense FREE</strong></a><strong> :</strong> In this game you will experience ultimate portable defense system. The graphics are really good and you can find many good maps, achievements and upgrades in the game. You can play with 1 map and eleven different levels. The full game is also available with all maps and upgrades. I would say just give it a try. If you are impressed you can buy a Pro version.You can find the upgrade option in the game itself. Just complete the free version for a basic experience. You can download the app from android market : <a href="https://market.android.com/details?id=com.magicwach.rdefense_free&feature=search_result" target="_blank">Download</a></p>
<p style="text-align: justify;">These are the top 15 popular android games so far. Just download the apps from Android Market and have fun. I will upload 15 more popular games below. Just take a look at it.</p>
<h3 style="text-align: justify;">Few Other Free Popular Android Games :</h3>
<ol>
<li><a href="https://market.android.com/details?id=com.teamlava.restaurantstory&feature=search_result" target="_blank">Restaurant Story™</a></li>
<li><a href="https://market.android.com/details?id=com.glu.android.gunbros_free&feature=search_result" target="_blank">Gun Bros</a></li>
<li><a href="https://market.android.com/details?id=com.zynga.words&feature=search_result" target="_blank">Words With Friends Free</a></li>
<li><a href="https://market.android.com/details?id=com.creativemobile.DragRacing&feature=search_result" target="_blank">Drag Racing</a></li>
<li><a href="https://market.android.com/details?id=com.droidhen.fruit&feature=search_result" target="_blank">Fruit Slice</a></li>
<li><a href="https://market.android.com/details?id=uk.co.aifactory.chessfree&feature=search_result" target="_blank">Chess Free</a></li>
<li><a href="https://market.android.com/details?id=dk.logisoft.aircontrol&feature=search_result" target="_blank">Air Control Lite</a></li>
<li><a href="https://market.android.com/details?id=com.glu.android.bonsai&feature=search_result" target="_blank">Bonsai Blast</a></li>
<li><a title="NinJump" href="https://market.android.com/details?id=com.bfs.ninjump&feature=search_result">NinJump</a></li>
<li><a href="https://market.android.com/details?id=com.getsetgames.megajump&feature=search_result" target="_blank">Mega Jump</a></li>
<li><a href="https://market.android.com/details?id=com.kmagic.solitaire&feature=search_result" target="_blank">Solitaire</a></li>
<li><a href="https://market.android.com/details?id=de.hms.xconstruction&feature=search_result" target="_blank">X Construction Lite</a></li>
<li><a href="https://market.android.com/details?id=net.sunflat.android.papijump&feature=search_result" target="_blank">PapiJump</a></li>
<li><a href="https://market.android.com/details?id=com.nix.game.mahjong&feature=search_result" target="_blank">Mahjong</a></li>
<li><a href="https://market.android.com/details?id=se.illusionlabs.labyrinth.lite&feature=search_result" target="_blank">Labyrinth Lite</a></li>
</ol>
<p>So total of 25 top class popular android games which you cant miss. And the best part is all of them are completely free of cost. Just download them and have fun with your android.</p></div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com4tag:blogger.com,1999:blog-5143978931533168713.post-76866392326114706432012-02-22T22:21:00.000-08:002012-02-23T02:56:54.512-08:00Wi-Fi Direct: what it is and why you should care ?<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<h3 style="font-family: Georgia, 'Times New Roman', Times, serif; font-size: 28px; font-weight: normal; line-height: 32px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
Wi-Fi Direct: everything you need to know</h3>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
The world is falling out of love with cables, but the Wi-Fi we know and love isn't always the best way to connect devices.</div>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
Wouldn't it be great if you could effortlessly connect Wi-Fi devices without messing around with access points and lengthy passphrases? That's what Wi-Fi Direct promises.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct is a proper standard</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
It comes via the Wi-Fi Alliance, the global industry association in charge of certifying Wi-Fi kit.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct is Wi-Fi without the internet bit</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
The idea behind Wi-Fi direct is that simple tasks need simple connections. For example, you might want to print from your laptop or smartphone to a wireless printer, or to share images with someone else in the same room, or to transmit video from your phone to your TV. None of these things requires an internet connection, but they do need to connect - to the printer, or to the other person's hardware, or to the TV. With Wi-Fi Direct, that bit's easy.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct can have the internet bit too</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
If you have a Wi-Fi router connected to the internet, you can connect to that too.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct doesn't need a wireless access point</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
Wi-Fi Direct devices can connect to each other without having to go through an access point: they can establish ad-hoc networks as and when required, letting you see which devices are available and choose which one you want to connect to. If that sounds very like Bluetooth, that's because it is.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct uses Wi-Fi Protected Setup</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
You don't want any Tom, Dick or Harriet to be able to connect to your stuff - for example, you might not want to see what the neighbours are beaming to their TV on your TV - so Wi-Fi Direct uses Wi-Fi Protected Setup [PDF] and WPA2 to prevent unauthorised connections and keep your communications private. There are two ways to establish a connection: with physical buttons - "press the button on gadget X and then the same one on gadget Y", or with PIN codes.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct knows what's nearby</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
Wi-Fi Direct includes two potentially useful things: Wi-Fi Direct Device Discovery and Service Discovery. Your device doesn't just know there are devices available; if developers have enabled it, your device will know what kind of devices are nearby and what's on offer - so for example if you're trying to display an image, you'll only see devices that you can beam images to; if you want to print, you'll only see devices that are or that are connected to printers. Crucially this can happen before you connect, so you don't waste any time trying to connect so something that doesn't do what you want it to do.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct uses the same silicon</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
Manufacturers don't need to add extra radios to their kit: the idea is to have Wi-Fi Direct as part of the standard Wi-Fi radio. It's backwards compatible too, so you don't need to throw out your old Wi-Fi-enabled kit.</div>
<h4 style="color: #626262; font-family: Arial; font-size: 12px; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<strong style="font-family: arial; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Wi-Fi Direct is part of DLNA, and Android too</strong></h4>
<div style="font-family: arial; font-size: 14px; line-height: 22px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
In November, the Digital Living Network Alliance (DLNA) announced that it was including Wi-Fi Direct in its interoperability guidelines, and Google has added Wi-Fi Direct support to Android 4.0 Ice Cream Sandwich (for example it's in the Samsung Galaxy Nexus's networking options). DLNA says it "expects DLNA Certified and Wi-Fi Certified Wi-Fi Direct smartphones to grow strongly through 2016." That could be an awful lot of smartphones.</div>
</div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com3tag:blogger.com,1999:blog-5143978931533168713.post-82435266940577346182012-02-21T01:08:00.000-08:002012-02-21T01:08:01.964-08:00Customize Android phone to imitate iPhone or Windows using Espier and Launcher 7<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://cdn1.staztic.com/screenshots/launcher-7-10064-1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="http://cdn1.staztic.com/screenshots/launcher-7-10064-1.jpg" width="192" /></a><a href="http://2.bp.blogspot.com/-B2LcoFx7RTA/Tue-6eRgLMI/AAAAAAAACL4/NdbXe5o1CnQ/s320/screenshot-1323810313544.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-B2LcoFx7RTA/Tue-6eRgLMI/AAAAAAAACL4/NdbXe5o1CnQ/s320/screenshot-1323810313544.png" /></a></div>
<br />
<div align="justify">
One of the best things about using an Android smartphone is you
can change your phone’s appearance and behavior to mimic any of the other
platforms like Windows Phone 7 or iPhone very easily.</div>
<div align="justify">
<br /></div>
<div align="justify">
</div>
<div align="justify">
Espier Launcher tries to do just that. If you have ever used an
iPhone you would know how the launcher functions in it. The main difference is
that there is no app drawer in iPhone like Android has, instead all the
installed applications are spread across the home screens. The other difference
is that there are no widgets.</div>
<div align="justify">
Espirer Launcher tries to imitate the iOS launcher on your
phone. Just like the launcher on iPhone, there is no app drawer here. Instead
all your applications are arranged across multiple home screens and you also
have a Spotlight type of search on one homescreen</div>
<div align="justify">
<br /></div>
<div align="justify">
Get <a href="https://market.android.com/details?id=mobi.espier.launcher&rdid=mobi.espier.launcher">Espier</a> or <a href="https://market.android.com/details?id=info.tikuwarez.launcher3">Launcher 7</a></div>
<br />
</div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com5tag:blogger.com,1999:blog-5143978931533168713.post-49452036620416225302012-02-21T01:01:00.001-08:002012-02-28T21:23:01.818-08:00Themes / Skins for Swype<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Android is known for its ability to be customized. You can change every part of
your phone – the launcher, dialer, messaging app and even the status bar. This
is true with the keyboard as well. If you do not like the default keyboard that
cones with your phone, you can install any of the alternate ones that are
available. Two of the popular alternative keyboards for Android are SwiftKey X
and Swype.<br />
<br />
<br />
<a href="http://3.bp.blogspot.com/-q7WCrTWzqoI/Tv6rOeWBb-I/AAAAAAAACMY/NIyfJxDrgnE/s1600/swype-logo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="91" src="http://3.bp.blogspot.com/-q7WCrTWzqoI/Tv6rOeWBb-I/AAAAAAAACMY/NIyfJxDrgnE/s200/swype-logo.jpg" width="200" /></a>Of these SwiftKey X is the one preferred by many, because it can be
themed/skinned. While Swype does not have any official themes/skins available,
some developers/themers have modified the Swype APK to modify its resources and
created themed Swype keyboards.<br />
<br />
For installing any of these themes, you just need to uninstall the Swype
installer & Swype from your phone and install the respective installer for
the Swype theme you like. If you want to change the theme, just uninstall Swype
again and install the new APK for the skin you like. XDA member djdarkknight has
modded the latest Swype APK to create some awesome themes, you will definitely
get a theme as per your liking. Hit the link below to find out more</div>Anonymoushttp://www.blogger.com/profile/10129293851755424605noreply@blogger.com2