<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7178620400987993218</id><updated>2024-11-01T03:34:25.941-07:00</updated><category term="Oracle"/><category term="DB Administration"/><category term="SQL"/><category term="PL/SQL"/><category term="Security"/><category term="IBM"/><category term="Websphere"/><category term="JAVA"/><category term="Operating System"/><category term="Performance"/><category term="Troubleshooting"/><category term="IHS"/><category term="OEM"/><category term="WRAP obsfucation PL/SQL"/><title type='text'>Technical Notes</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-3566744408920266422</id><published>2011-12-07T07:06:00.000-08:00</published><updated>2014-08-13T07:06:13.578-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Fonctions Analytiques ROW_NUMBER et DENSE_RANK</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Les fonctions analytiques sont très puissantes et très utiles, elles permettent d’alléger les requêtes SQL d’une façon élégante et performante.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Une fonction que j’ai utilisée récemment est la fonction ROW_NUMBER, elle permette de donner un ordre numérique pour les lignes, la pseudo-colonne ROWNUM existe mais son utilisation nécessite l’écriture de plus d’instruction.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Voila un exemple qui illustre l’utilité de cette fonction&amp;nbsp;; supposons que vous voulez faire un ordre sur la colonne salaire de la table EMP du schéma SCOTT&amp;nbsp;: &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;SQL&amp;gt; select EMPNO,ENAME,SAL
&amp;nbsp; 2&amp;nbsp; from scotty.emp order by SAL;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL
---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7369 SMITH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7900 JAMES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 950
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7876 ADAMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1100
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7521 WARD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7654 MARTIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7934 MILLER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1300
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7844 TURNER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1500
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7499 ALLEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1600
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7782 CLARK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2450
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7698 BLAKE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2850
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7566 JONES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2975
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL
---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7788 SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7902 FORD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7839 KING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000
14 ligne(s) selectionnee(s).
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Ajoutons une colonne pour le classement de ces lignes selon le salaire, si on utilise directement ROWNUM ça marcherai pas&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;SQL&amp;gt; select EMPNO,ENAME,SAL, rownum classement from scotty.emp order by SAL;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7369 SMITH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7900 JAMES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 950&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7876 ADAMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7521 WARD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7654 MARTIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7934 MILLER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7844 TURNER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7499 ALLEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7782 CLARK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2450&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7698 BLAKE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2850&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7566 JONES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2975&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7788 SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7902 FORD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7839 KING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
14 ligne(s) selectionnee(s).&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Certes il a classé les donner mais c’est donne l’ordre de l’extraction des lignes mais pas dans l’ordre des valeurs des salaires, pour corriger ça &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;il faut écrire&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;SQL&amp;gt; select EMPNO,ENAME,SAL,rownum classement from 
&amp;nbsp;2 (select EMPNO,ENAME,SAL from scotty.emp order by SAL) ;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7369 SMITH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7900 JAMES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 950&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7876 ADAMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7521 WARD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7654 MARTIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7934 MILLER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7844 TURNER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7499 ALLEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7782 CLARK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2450&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7698 BLAKE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2850&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7566 JONES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2975&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7788 SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7902 FORD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7839 KING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
14 ligne(s) selectionnee(s).&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;C’est la que devienne l’utilisation des fonctions analytiques intéressante, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;voila le même résultat en utilisant ROW_NUMBER&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;SQL&amp;gt; select EMPNO,ENAME,SAL, row_number() over(order by SAL) classement
&amp;nbsp; 2&amp;nbsp; from scotty.emp
&amp;nbsp; 3&amp;nbsp; order by SAL;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7369 SMITH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7900 JAMES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 950&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7876 ADAMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7521 WARD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7654 MARTIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7934 MILLER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7844 TURNER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7499 ALLEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7782 CLARK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2450&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7698 BLAKE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2850&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7566 JONES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2975&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7788 SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7902 FORD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7839 KING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
14 ligne(s) selectionnee(s).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Le résultat est bien trier selon les valeurs des salaires et il est classé mais il y a un problème sur les salaires égaux &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;(par exemple SCOTT et FORD) ont le même salaire mais un classement différent, la aussi c’est les fonctions analytiques qui viennent &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;au secours :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;SQL&amp;gt;&amp;nbsp; select EMPNO,ENAME,SAL, DENSE_RANK() over(order by SAL) classement
&amp;nbsp; 2&amp;nbsp; from scotty.emp
&amp;nbsp; 3&amp;nbsp; order by SAL;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7369 SMITH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7900 JAMES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 950&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7876 ADAMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7521 WARD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7654 MARTIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7934 MILLER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7844 TURNER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7499 ALLEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7782 CLARK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2450&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7698 BLAKE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2850&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7566 JONES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2975&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAL CLASSEMENT
---------- ---------- ---------- ----------
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7788 SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7902 FORD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7839 KING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
14 ligne(s) selectionnee(s).&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;La fonction DENSE_RANK permet de donner le même classement pour les mêmes valeurs dans un résultat trié.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Chaque fois que vous écrivez des instructions SQL ou des blocs PL/SQL afin d’analyser les données, jeter un coup d’œil sur les fonctions analytiques vous pouvez y trouver un contournement.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/3566744408920266422/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/3566744408920266422' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/3566744408920266422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/3566744408920266422'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2011/12/oracle-fonctions-analytiques-rownumber.html' title='Fonctions Analytiques ROW_NUMBER et DENSE_RANK'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-5021558345990397557</id><published>2011-11-30T05:50:00.000-08:00</published><updated>2014-08-13T07:06:42.270-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Websphere"/><title type='text'>WebSphere : JDWP error in VM_INIT: TransportException</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;J’ai reçu l’erreur suivant en essayant de redémarrer un serveur applicatif en Websphere&amp;nbsp;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;L’erreur s’affiche dans SystemErr.log, dans SystemOut.log rien d’indicatif&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; height: 41px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;08:43:21.820 ERROR: [Agent.cpp:164] JDWP error in VM_INIT: TransportException [510/201] binding to port failed (error code: -212&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;En cherchant un peu cela vient de l’échec de Websphere d’obtenir le port renseigné dans&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;server.xml, en particulier celui de debug JVM&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;- c’est ce qui est indiqué par le code message JDWP – j’ai fait un grep sur la valeur debugArgs :&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;grep -i debugArgs ./config/cells/aix61devNode01Cell/nodes/aix61devNode01/servers/server1/server.xml
  &amp;lt; services xmi:type=&quot;debugservice:DebugService&quot; xmi:id=&quot;DebugService_1319801562654&quot; enable=&quot;true&quot; jvmDebugPort=&quot;7777&quot; jvmDebugArgs=&quot;-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777&quot; BSFDebugPort=&quot;4444&quot; BSFLoggingLevel=&quot;0&quot;/ &amp;gt;
    &amp;lt; jvmEntries xmi:id=&quot;JavaVirtualMachine_1183122130078&quot; verboseModeClass=&quot;false&quot; verboseModeGarbageCollection=&quot;false&quot; verboseModeJNI=&quot;false&quot; runHProf=&quot;false&quot; hprofArguments=&quot;&quot; debugMode=&quot;true&quot; debugArgs=&quot;-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777&quot; genericJvmArguments=&quot;&quot; &amp;gt;

&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Apparemment il cherche à allouer le port 7777 c’est le port par défaut pour le debugging JVM en Websphere&amp;nbsp;, je fait un recherche sur le port voulu et effectivement il est déjà allouer par un autre serveur :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;lsof -Pnl +M -i4 | grep 7777&amp;nbsp; &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;je modifie le fichier server.xml pour lui indiqué un autre port libre et voila que cela redémarre&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; height: 52px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt; jvmEntries xmi:id=&quot;JavaVirtualMachine_1183122130078&quot; verboseModeClass=&quot;false&quot; verboseModeGarbageCollection=&quot;false&quot; verboseModeJNI=&quot;false&quot; runHProf=&quot;false&quot; hprofArguments=&quot;&quot; debugMode=&quot;true&quot; debugArgs=&quot;-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7788&quot; genericJvmArguments=&quot;&quot; &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt; systemProperties xmi:id=&quot;Property_1&quot; name=&quot;com.ibm.security.jgss.debug&quot; value=&quot;off&quot; required=&quot;false&quot;/ &amp;gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;La modification peut aussi se faire au niveau console :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFBGUXm_XMa7hBZZqM0hUqcj7osnfBLOkrnRWqMYHQYFPYIlosZmRYE5mzWtKoCTwdJ9QCmdGx_6ymX_-QBbH2aKCw0af7K3Pfsxv8s3sbsRi4wQXfr7eUd7-d2E0lRJ5I24qIOCl9yw/s1600/image001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFBGUXm_XMa7hBZZqM0hUqcj7osnfBLOkrnRWqMYHQYFPYIlosZmRYE5mzWtKoCTwdJ9QCmdGx_6ymX_-QBbH2aKCw0af7K3Pfsxv8s3sbsRi4wQXfr7eUd7-d2E0lRJ5I24qIOCl9yw/s400/image001.png&quot; dda=&quot;true&quot; height=&quot;42&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Un peu plus bas&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-c4oy_9YGeZNuMsli-balDUZINRlvOBUJosbBzcuxfh0Piox8UehUPy7YIoRZo4Y_mNT43QSwHsePsmU85g920mOCQjC5eOxTf-L4iNgAXqcU8JKIUBWM0q_dhN45MZ7N6kEfFy_HpQ/s1600/image003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-c4oy_9YGeZNuMsli-balDUZINRlvOBUJosbBzcuxfh0Piox8UehUPy7YIoRZo4Y_mNT43QSwHsePsmU85g920mOCQjC5eOxTf-L4iNgAXqcU8JKIUBWM0q_dhN45MZ7N6kEfFy_HpQ/s400/image003.png&quot; dda=&quot;true&quot; height=&quot;81&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Souvenez-vous qu’en activant certains options sur WebSphere cela peut activer l’utilisation de certains ports qui ne sont pas forcement libres ou autorisé par le par-feu.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/5021558345990397557/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/5021558345990397557' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/5021558345990397557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/5021558345990397557'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2011/11/websphere-jdwp-error-in-vminit.html' title='WebSphere : JDWP error in VM_INIT: TransportException'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFBGUXm_XMa7hBZZqM0hUqcj7osnfBLOkrnRWqMYHQYFPYIlosZmRYE5mzWtKoCTwdJ9QCmdGx_6ymX_-QBbH2aKCw0af7K3Pfsxv8s3sbsRi4wQXfr7eUd7-d2E0lRJ5I24qIOCl9yw/s72-c/image001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-5622745921345830273</id><published>2011-11-24T08:26:00.000-08:00</published><updated>2014-08-13T07:10:28.370-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Le parametre DDL_LOCK_TIMEOUT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;A partir de la version 11g d’oracle un nouveau paramètre permettant de contrôler le timeout sur l’instruction DDL qui sont en attente des verrous DML&amp;nbsp;; ce parametre est par défaut à zero qui est le comportement existant dans les version 10g et avant, il s’agit de &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;ddl_lock_timeout voila un cas expliquant sont comportement&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;L’état de ce parametre avant modification&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;SQL&amp;gt; show parameter ddl
NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE
------------------------------------ ----------- ------------------------------
ddl_lock_timeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0
enable_ddl_logging&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FALSE&lt;/code&gt;
&lt;code&gt;
SQL&amp;gt;-- créons maintenant un table de test&amp;nbsp; et simulons une modification :&lt;/code&gt;
&lt;code&gt;
SQL&amp;gt; create table usr(name varchar2(10),tr number(4));
Table creee.
SQL&amp;gt; insert into usr values(&#39;polo&#39;,20);
1 ligne creee.
SQL&amp;gt; insert into usr values(&#39;folo&#39;,30);
1 ligne creee.
SQL&amp;gt; insert into usr values(&#39;solo&#39;,40);
1 ligne creee.
SQL&amp;gt; commit;
Validation effectuee.
SQL&amp;gt; --
SQL&amp;gt; update usr set name=&#39;lolo&#39; where name=&#39;folo&#39;;
1 ligne mise a jour.
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;On ouvre une autre session et on simule une suppression de la table, la première tentative &amp;nbsp;renvoi le message d’erreur sur le champ :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;[oracle@sysagvm ~]$ sqlplus &quot;/as sysdba&quot;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
SQL*Plus: Release 11.2.0.1.0 Production on Mon Nov 7 04:58:18 2011&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Copyright (c) 1982, 2009, Oracle.&amp;nbsp; All rights reserved.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Connecte a :
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
SQL&amp;gt;
SQL&amp;gt;
SQL&amp;gt; set tim on
04:58:31 SQL&amp;gt; drop table usr;
drop table usr
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *
ERREUR a la ligne 1 :
ORA-00054: ressource occupee et acquisition avec NOWAIT ou temporisation
indique&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;On modifie le paramètre au niveau session à 10 secondes, et on réessaye cette fois en attend la période spécifier dans le paramètre avant qu’Oracle nous renvoi le message d’erreur&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;04:58:32 SQL&amp;gt; alter session set ddl_lock_timeout=10;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Session modifiee.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
04:58:40 SQL&amp;gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;04:58:41&lt;/span&gt;&lt;/b&gt; SQL&amp;gt; drop table usr;
drop table usr
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *
ERREUR a la ligne 1 :
ORA-00054: ressource occupee et acquisition avec NOWAIT ou temporisation
indique&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;04:58:53&lt;/span&gt;&lt;/b&gt; SQL&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;La valeur maximale de ce paramètre est &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Tahoma&amp;quot;, &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1000000 secondes ce qui signifie une attente infinie.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/5622745921345830273/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/5622745921345830273' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/5622745921345830273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/5622745921345830273'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2011/11/le-parametre-ddllocktimeout.html' title='Le parametre DDL_LOCK_TIMEOUT'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-5881531502731892566</id><published>2011-11-23T08:07:00.000-08:00</published><updated>2014-08-13T07:07:55.256-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Websphere"/><title type='text'>Did not find JAVA_HOME under the WebSphere installer directory</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Lors de l’installation du Websphere j’ai rencontré l’erreur suivante&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;root@AIX53:/tmp/inst_ihs/IHS&amp;gt;./install&lt;/code&gt;

&lt;code&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Did not find JAVA_HOME under the WebSphere installer directory.
Exiting&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;
Cela vient du fait que l’installateur de Websphere ne trouve pas les binaires JAVA. Pour contourner ce problème il suffit juste de mettre un SDK compatible dans le répertoire parent du répertoire de l’installation dans mon cas&amp;nbsp;: /tmp/inst_ihs/.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/5881531502731892566/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/5881531502731892566' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/5881531502731892566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/5881531502731892566'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2011/11/did-not-find-javahome-under-websphere.html' title='Did not find JAVA_HOME under the WebSphere installer directory'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-6789411009986657942</id><published>2011-11-23T07:04:00.000-08:00</published><updated>2014-08-13T07:08:23.370-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="IHS"/><category scheme="http://www.blogger.com/atom/ns#" term="Websphere"/><title type='text'>IHS : Installation IBM HTTP Server 7.0 sous AIX 5.3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;L’installation est effectué sur un system AIX 5.3 64bits , pré requis pour cette installation sont les suivants&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Service Pack 5300-07-01 (recommandé mais pas nécessaire).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;2Go de libre dans /tmp ou nous allons&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;extraire les archives d’installation.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;700 Mo de libre dans le FS de l’installation.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Une version SDK compatible dans niveau supérieur du répertoire d’installation.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0cm 0cm 10pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Les archives de l’Install.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;On decompresses les archives :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;root@AIX53:/tmp/inst_ihs&amp;gt; ls -l
total 836448
-rw-r--r--&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp; 173557760 Nov 22 09:20 JDk.tar
-rw-r--r--&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp; 181483520 Nov 22 09:52 ihs.tar
root@AIX53:/tmp/inst_ihs&amp;gt; tar –xvf&amp;nbsp; JDk.tar
root@AIX53:/tmp/inst_ihs&amp;gt; tar –xvf&amp;nbsp; ihs.tar
root@AIX53:/tmp/inst_ihs&amp;gt; ls -l
total 836448
dr-xr-xr-x&amp;nbsp;&amp;nbsp; 12 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 Sep&amp;nbsp; 1 2008&amp;nbsp; IHS
drwxr-xr-x&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 256 Sep&amp;nbsp; 1 2008&amp;nbsp; JDK
-rw-r--r--&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp; 173557760 Nov 22 09:20 JDk.tar
-rw-r--r--&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp; 181483520 Nov 22 09:52 ihs.tar
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Lancer un serveur X depuis le poste ou vous allez effectuer l’installation (Xming, Xmanager), et exporter l’affichage vers la machine en question&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;root@AIX53:/tmp/inst_ihs&amp;gt; export DISPLAY=10.100.136.249 :0.0&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Et en lance l’installation depuis :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;root@AIX53:/tmp/inst_ihs/IHS&amp;gt; ./install&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Voila les différentes étapes de l’installation :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxTRz-oZ3Ajnv4JZutXVB41m89YLAKYeMcyyxCpoSfYl39rw_0lAq00LN9EzIquSKGcORTBtE8RlgFOcG1dV8gB2rP0y1n2MRv3qjILVP5_jIhY9vCcYwkyOMKMuBtQv7g7eP3yKiuQA/s1600/image001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxTRz-oZ3Ajnv4JZutXVB41m89YLAKYeMcyyxCpoSfYl39rw_0lAq00LN9EzIquSKGcORTBtE8RlgFOcG1dV8gB2rP0y1n2MRv3qjILVP5_jIhY9vCcYwkyOMKMuBtQv7g7eP3yKiuQA/s320/image001.png&quot; hda=&quot;true&quot; height=&quot;232&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7XcO1KBjQWQMml4gOd9FUELbBp8oqFvGUoLm5O9YxNan7Lz4zwbCxZIyAJ42ZuJ9xlgG5lB3wKCRxjsVm913wrzsmIjbM_KezyID3sQMlAKZUWDwZAd8jx43iH30n6EWjWugGBuGkHw/s1600/image003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7XcO1KBjQWQMml4gOd9FUELbBp8oqFvGUoLm5O9YxNan7Lz4zwbCxZIyAJ42ZuJ9xlgG5lB3wKCRxjsVm913wrzsmIjbM_KezyID3sQMlAKZUWDwZAd8jx43iH30n6EWjWugGBuGkHw/s320/image003.png&quot; hda=&quot;true&quot; height=&quot;234&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;L’avertissement concerne le patch recommandé &lt;/span&gt;﻿:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjMYIEwp7CL9cWMafoqea1eXBLzMBKs8nOihD1K85DRaSxr4BLV1I9uUTmagUbis0_pOGmkcncKunukvkyUF4AImQDZkq6eR-Wwn85wFNWCBGGxHNlnexZHjiB1-3bIxW11J5TeXXJjA/s1600/image005.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjMYIEwp7CL9cWMafoqea1eXBLzMBKs8nOihD1K85DRaSxr4BLV1I9uUTmagUbis0_pOGmkcncKunukvkyUF4AImQDZkq6eR-Wwn85wFNWCBGGxHNlnexZHjiB1-3bIxW11J5TeXXJjA/s320/image005.png&quot; hda=&quot;true&quot; height=&quot;233&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqjkD0RkcdCl5eNu0v4_lysppGxaHsRB6a4opp5pKyObaXBhFgz5VDx7ZSTX7ncai0lEDvTNpuYKBj0FOhlT6_tj-t3uLhhNeRh2O8MkOkZE2QKelav3Xowm8yAI37zHqbox77G72A_Q/s1600/image007.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqjkD0RkcdCl5eNu0v4_lysppGxaHsRB6a4opp5pKyObaXBhFgz5VDx7ZSTX7ncai0lEDvTNpuYKBj0FOhlT6_tj-t3uLhhNeRh2O8MkOkZE2QKelav3Xowm8yAI37zHqbox77G72A_Q/s320/image007.png&quot; hda=&quot;true&quot; height=&quot;234&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihRiA2Uf9WGa97a8x4iPUXDRa0uJDCWDNz1M-kWA2iG6hwtwz2SONDN8iFAi9BACXHbiMTIWmKDOBxZzs3nLeAeZUQLxDf8N46FP2qkfBpzixq_o2C1nMbBkiUMwybMvhCDbZWOSIiTg/s1600/image009.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihRiA2Uf9WGa97a8x4iPUXDRa0uJDCWDNz1M-kWA2iG6hwtwz2SONDN8iFAi9BACXHbiMTIWmKDOBxZzs3nLeAeZUQLxDf8N46FP2qkfBpzixq_o2C1nMbBkiUMwybMvhCDbZWOSIiTg/s320/image009.png&quot; hda=&quot;true&quot; height=&quot;234&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhemr_OfYaJ-VXBkCAo2zvZ89XtbQ7JhA5hPLMRprVXVy5Pb6BBfdBDjvK8Vd9XXjmgzIDvUbA5hfnpD0lOZgPqaSc4gUg135PdrkUXwCDWmxM038tL8J2IG8L3m8Ls9DmPs1U3poPsZw/s1600/image011.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhemr_OfYaJ-VXBkCAo2zvZ89XtbQ7JhA5hPLMRprVXVy5Pb6BBfdBDjvK8Vd9XXjmgzIDvUbA5hfnpD0lOZgPqaSc4gUg135PdrkUXwCDWmxM038tL8J2IG8L3m8Ls9DmPs1U3poPsZw/s320/image011.png&quot; hda=&quot;true&quot; height=&quot;232&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirDUErnG0awUYaIA9cTDvMiQCxzsmtfj6ySfWXFBoJ5LEvJxwu09VVBABhkocbuEtOS_HDEtvhlMWlJQwtWb98R_JA209jIp19_Mf6bukJfeFqgZHDD1Vs03aCaNnTXG6r_f5F3SIkWQ/s1600/image013.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirDUErnG0awUYaIA9cTDvMiQCxzsmtfj6ySfWXFBoJ5LEvJxwu09VVBABhkocbuEtOS_HDEtvhlMWlJQwtWb98R_JA209jIp19_Mf6bukJfeFqgZHDD1Vs03aCaNnTXG6r_f5F3SIkWQ/s320/image013.png&quot; hda=&quot;true&quot; height=&quot;234&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSe10rd3M1VK4Og0bqfDB5TwqXuNa2oPIURPG9uwAmk5d5_SaAL25PVMA8fMEM4iDbSq2TI3kUkDXfyoN_CNhVCLsS_e_SvGs55mO1EznF4Ixrq_BOGyj6QSEUapr3wcb0xIhJ5nV9bw/s1600/image015.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSe10rd3M1VK4Og0bqfDB5TwqXuNa2oPIURPG9uwAmk5d5_SaAL25PVMA8fMEM4iDbSq2TI3kUkDXfyoN_CNhVCLsS_e_SvGs55mO1EznF4Ixrq_BOGyj6QSEUapr3wcb0xIhJ5nV9bw/s320/image015.png&quot; hda=&quot;true&quot; height=&quot;236&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPEkN08cb55msfaKQg828iam-YSyZymzD1A62y51Q_QhlMYiV_uMfd20vMH1A9RjS8-fdWX3c2HMKK9a9eGO7dvuAt63IowoYcb9uLR0eafClQ2U4HTFqGTOrIYadNJ-sYk5-llvVYNw/s1600/image017.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPEkN08cb55msfaKQg828iam-YSyZymzD1A62y51Q_QhlMYiV_uMfd20vMH1A9RjS8-fdWX3c2HMKK9a9eGO7dvuAt63IowoYcb9uLR0eafClQ2U4HTFqGTOrIYadNJ-sYk5-llvVYNw/s320/image017.png&quot; hda=&quot;true&quot; height=&quot;235&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/6789411009986657942/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/6789411009986657942' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6789411009986657942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6789411009986657942'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2011/11/ihs-installation-ibm-http-server-70.html' title='IHS : Installation IBM HTTP Server 7.0 sous AIX 5.3'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxTRz-oZ3Ajnv4JZutXVB41m89YLAKYeMcyyxCpoSfYl39rw_0lAq00LN9EzIquSKGcORTBtE8RlgFOcG1dV8gB2rP0y1n2MRv3qjILVP5_jIhY9vCcYwkyOMKMuBtQv7g7eP3yKiuQA/s72-c/image001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-3876838031974050884</id><published>2011-11-21T03:16:00.000-08:00</published><updated>2014-08-13T07:10:55.945-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Casser les mots de passe Oracle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Il existe plusieurs utilitaires pour casser les mots de passe Oracle&amp;nbsp;; un des plus rapides est woraauthbf téléchargeable sur le site &lt;a href=&quot;http://soonerorlater.hu/&quot;&gt;Soonerorlater&lt;/a&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;J’ai fait un petit test et ça fonctionne rapidement tant que le mot de passe ne depasse pas les six caractères, voila l’exemple que j’ai fait sur un poste avec un processeur Core2 Duo 3Ghz cela à donner une vitesse de 2,5 million de mot de passe par seconde :&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; height: 182px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;SQL&amp;gt; create user user1 identified by PLM0RT;

Utilisateur cree.

SQL&amp;gt; select u.name||&#39;:&#39;||u.password||&#39;:&#39;||substr(u.spare4,3,63)||&#39;:&#39;||d.name||&#39;:&#39;||
      sys_context(&#39;USERENV&#39;,&#39;SERVER_HOST&#39;)||&#39;:&#39;
      from sys.user$ u, sys.V_$DATABASE d where u.type#=1;
...
USER1:B033B534947A8CCF:F2A24D8B1AA518827F9721561BD9970492684425AACD4465B86C1AA646B3:DB11GR2:sysagvm:
...
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;On lance la session en specifiant le caracteset &quot;alphanum&quot; et le type de l&#39;algoritme - ça depend selon la version de la base - 11g10g; pour les differents arguments et option consulter le fichier README.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; height: 518px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;C:\woraauthbf_0.22R2\woraauthbf_0.22R2\woraauthbf.exe -p C:\woraauthbf_0.22R2\woraauthbf_0.22R2\pfile.txt -c &quot;alphanum&quot; -t &quot;11g10g&quot;
Usernames will be permuted!
The number of processors: 2
Number of pwds to check: 2238976116
Number of pwds to check by thread: 1119488058
Password file: C:\woraauthbf_0.22R2\woraauthbf_0.22R2\pfile.txt, charset: alphanum, maximum length: 6, type: 11g10g
Could not open default.txt file! Deafult passwords will not be checked!
Start array thread with 1 number of passwords!
Start: 0 End: 1119488058
Start: 1119488058 End: 2238976116
Elpased time: 37s Checked passwords: 93950368 Speed: 2539199/s
Writing session files...
Writing session files...
Elpased time: 127s Checked passwords: 318483485 Speed: 2507743/s
Writing session files...
Elpased time: 235s Checked passwords: 588187535 Speed: 2502925/s
Writing session files...
Writing session files...
Elpased time: 333s Checked passwords: 832099138 Speed: 2498796/s
Writing session files...
Writing session files...
Writing session files...
Elpased time: 507s Checked passwords: 1262426203 Speed: 2489992/s
Writing session files...
Writing session files...
Elpased time: 657s Checked passwords: 1634275841 Speed: 2487482/s
Writing session files...
Writing session files...
Elpased time: 757s Checked passwords: 1885363683 Speed: 2490572/s
Writing session files...
Password found: USER1:PLM0RT:DB11GR2:sysagvm
Elpased time: 794s
Checked passwords: 1978225547
Password / Second: 2491467
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Presque deux milliards de mots de passe essayer en 794 seconde&amp;nbsp;; si vous avez une machine avec plus de puissance CPU cela va minimiser le temps. Une version pour linux existe aussi.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/3876838031974050884/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/3876838031974050884' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/3876838031974050884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/3876838031974050884'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2011/11/il-existe-plusieurs-utilitaires-pour.html' title='Casser les mots de passe Oracle'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-3107090483971537324</id><published>2011-11-14T07:53:00.001-08:00</published><updated>2014-08-13T07:11:20.175-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>ORA-01555 lors d&#39;un Export - Corruption des données LOB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: FR;&quot;&gt;Aujourd’hui j’ai rencontré une erreur &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;un peu particulière &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;lors d’un export d’une base 8.1.7 , voila un extrait&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; height: 119px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;. . exporting table PLFRQRS

EXP-00056: ORACLE error 1555 encountered

ORA-01555: snapshot too old: rollback segment number with name &quot;&quot; too small

ORA-22924: snapshot too old&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
A première vue j’ai soupçonné les RBS de la base j’ai ajouté un grand Rollback Segment (2 Go) et j’ai réessayé l’export en surveillant l’état d’utilisation des segments d’annulation, mais bizarrement rien ne se passe après un certain temps la taille utilisée sur les segments reste la même. Et l’erreur est la même.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En vérifiant l’erreur je remarque que le message d’erreur ne comporte aucun nom du segment d’annulation !! . charchant un peu sur Metalink je trouve la note suivante: &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Export Fails With ORA-2354 ORA-1555 ORA-22924 and How To Confirm LOB Segment Corruption Using Export Utility? [ID 833635.1]&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Et effectivement il y a bien une corruption dans la table, en lançant les scripts suivants :&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;&quot;&gt;&lt;code&gt;declare
error_1555 exception;
pragma exception_init(error_1555,-1555);
num number;
begin
for cursor_lob in (select rowid r, &amp;amp;&amp;amp;lob_column from &amp;amp;table_owner.&amp;amp;table_with_lob) loop
begin
num := dbms_lob.instr (cursor_lob.&amp;amp;&amp;amp;lob_column, hextoraw (&#39;889911&#39;)) ;
exception
when error_1555 then
insert into corrupted_lob_data values (cursor_lob.r);
commit;
end;
end loop;
end;
/

Enter value for lob_column : PLFCLOB
Enter value for table_owner : PLF
Enter value for table_with_LOB: PLFRQRS

SQL&amp;gt; select * from corrupted_lob_data;

CORRUPTED_ROWID
--------------------------------
AAABBvAAIAAA39VAAE&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: FR;&quot;&gt;J’ai pu faire l’export en supprimant la ligne, une mise à jour de la colonne aurait suffit mais dans mon cas j’ai déjà cette ligne sur une autre table.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/3107090483971537324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/3107090483971537324'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2011/11/aujourdhui-jai-rencontre-une-erreur-un.html' title='ORA-01555 lors d&#39;un Export - Corruption des données LOB'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-2628680056579577306</id><published>2010-02-05T02:23:00.000-08:00</published><updated>2014-08-13T07:11:56.962-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>SEC_SENSITIVE_LOGON dans Oracle 11g</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Dans Oracle 11g les mots de passe utilisateurs sont par défaut sensibles à la casse sauf s&#39;il s&#39;agit d&#39;une mise à niveau et cela tant qu&#39;une instruction ALTER USER n&#39;est pas utilisé ce qui restaure le comportement èar défaut, mais les noms utiliateurs ne sont pas concerné.&lt;br /&gt;
on peut desactiver la sensibilte à la casse on utilisant le nouveau parametere SEC_CASE_SENSITIVE_LOGON , par exemple :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #b45f06; font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SQL&amp;gt;alter system set SEC_SENSITIVE_LOGON = FALSE;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif; font-size: small;&quot;&gt;mais Oracle recommande de garder le comportement par défaut puisque la desactivation augmente les risques des attaques de type brute force contre les mots de passe non sensibles à la casse.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/2628680056579577306/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/2628680056579577306' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/2628680056579577306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/2628680056579577306'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/02/oracle-11g-le-parametre.html' title='SEC_SENSITIVE_LOGON dans Oracle 11g'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-6776918938929713603</id><published>2010-02-01T08:20:00.000-08:00</published><updated>2014-08-13T07:12:40.129-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Troubleshooting"/><title type='text'>Oracle : Activer la trace du Listener</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Parfois pour identifier un problème de connexion à la base de données on à besoin d&#39;activer la trace de listener, pour cela on ajoute les lignes suivantes au fichier listtener.ora :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;TRACE_DIRECTORY_LISTENER = C:\oracle\product\10.2.0\db_1\NETWORK\trace&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;TRACE_FILE_LISTENER = listener.trc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;TRACE_LEVEL_LISTENER = support&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Les deux premières lignes indique l&#39;emplacement et e nom de fichier de trace, le troisième paramètre TRACE_LEVEL_LISTENER spécifie le niveau de trace, il y a quatre niveau de trace :&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;0 ou OFF est le niveau par défaut pas de trace.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;4 ou USER est un niveau pour détecter les erreurs utilisateur.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;6 ou ADMIN pour détecter des problèmes d&#39;installation ou de configuration d&#39;Oracle Net Services.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;16 ou SUPPORT c&#39;est le niveau le plus exhaustif il est destiné au support ORACLE.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;On recharge le fichier avec :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;c:\&amp;gt;lsnrctl reload&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;La sortie de fichier trace semble à quelque chose comme :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nsopen: opening transport...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nttcnp: getting sockname&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nttcnp: getting peername&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nttcnr: waiting to accept a connection.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nttcnr: getting sockname&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] snlinGetNameInfo: Using numeric form of host&#39;s address 127.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nttcnr: connected on ipaddr 127.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nttcon: set TCP_NODELAY on 228&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nsopen: transport is open&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nsnainit: inf-&amp;gt;nsinfflg[0]: 0xd inf-&amp;gt;nsinfflg[1]: 0xd&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nsopen: global context check-in (to slot 5) complete&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] nsanswer: deferring connect attempt; at stage 5&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] ntt2err: soc 228 error - operation=5, ntresnt[0]=524, ntresnt[1]=997, ntresnt[2]=0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;[31-JANV.-2010 17:56:04:500] snttcallback: op = 5, bytes = 87, err = 0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;......&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;la méthode de modification du fichier listener.ora n&#39;est qu&#39;une méthode parmi d&#39;autres, on peut faire la même chose avec les commandes SET TRC_DIRECTORY, SET TRC_FILE, and SET TRC_LEVEL de l&#39;utilitaire lsnrctl, ou à travers l&#39;OEM.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/6776918938929713603/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/6776918938929713603' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6776918938929713603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6776918938929713603'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/02/activer-la-trace-du-listener.html' title='Oracle : Activer la trace du Listener'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-1687473119355087890</id><published>2010-02-01T08:12:00.000-08:00</published><updated>2014-08-13T07:12:57.324-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL : Group BY ROLLUP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Une fonction bien pratique dans ORACLE depuis la version 9i est la fonction ROLLUP, cette fonction permet d&#39;avoir des agrégations a certain niveaux que group by ne permet pas; analysons l&#39;instruction suivante :&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select deptno,job,sum(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  from emp group by deptno,job&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  order by deptno;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 216px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 42pt;&quot; width=&quot;56&quot;&gt;&lt;/col&gt;  &lt;col span=&quot;2&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt; width: 42pt;&quot; width=&quot;56&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;DEPTNO&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JOB&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SUM(SAL)&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;---------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;PRESIDENT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ANALYST&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1900&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl24&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SALESMAN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;9 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;L&#39;agrégation avec GROUP BY dans l&#39;instruction précédente n&#39;est utile que si on veut la somme en fonction des deux colonnes DEPTNO et JOB, si on veut aussi la somme en fonction de chaque DEPTNO nous auront deux choses soit faire une interrogation a part et la joindre avec un l&#39;operateur UNION, soit utilisé la fonction ROLLUP :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select deptno,job,sum(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  from emp group by rollup(deptno,job)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  order by deptno;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 240px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;3&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;DEPTNO&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JOB&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SUM(SAL)&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;---------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;PRESIDENT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;8750&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ANALYST&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1900&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10875&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SALESMAN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;9400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;29025&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;13 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Remarquer aussi que la fonction ROLLUP permet de donner un total global de tous les départements, l&#39;utilisation de ROLLUP est équivalent a group by() union group by deptno union group by deptno,job :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select deptno,job,sum(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  from emp group by deptno,job&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  union&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  4  select deptno,to_char(null),sum(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  5  from emp group by deptno&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  6  union&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  7  select to_number(null),to_char(null),sum(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  8  from emp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 240px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;3&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;DEPTNO&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JOB&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SUM(SAL)&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;---------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;PRESIDENT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;8750&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ANALYST&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1900&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10875&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SALESMAN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;9400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl22&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;29025&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;13 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Une autre fonction utile est la fonction CUBE.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/1687473119355087890/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/1687473119355087890' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/1687473119355087890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/1687473119355087890'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/02/group-by-rollup.html' title='SQL : Group BY ROLLUP'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-4467537379891471115</id><published>2010-02-01T08:05:00.000-08:00</published><updated>2014-08-13T07:15:25.668-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>DATA PUMP : Les paramétres REMAP_* dans</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Une des fonctionnalités intéressantes de SQL loader c&#39;est qu&#39;il permet de charger des données à partir d&#39;un schéma utilisateur vers un autre schéma utilisateur grâce aux paramètres fromuser et touser, mais avec DATA PUMP dans oracle 11g, c&#39;est encore plus puissant avec les paramètres du genre REMAP_*.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Un équivalent de fromuser touser est le paramètre REMAP_SCHEMA, d&#39;abord un export du schéma HR :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;C:\&amp;gt;impdp system/sbd11 DIRECTORY=dpump_dir DUMPFILE=hr.dmp &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Puis un import avec le paramètre REMAP_SCHEMA=hr:oe pour charger les objets du schéma HR vers le schéma Scott:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;C:\&amp;gt;impdp system/sbd11 DIRECTORY=dpump_dir DUMPFILE=hr.dmp REMAP_SCHEMA=hr:scott&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Autre fonctionnalité avec les paramètres de la famille REMAP est REMAP_DATA, et oui un mappage aux niveaux donnés; cela s&#39;avère utile lors d&#39;un chargement des données du prod vers une plateforme de test, voila un exemple : &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;C:\&amp;gt;expdp hr/hr tables=departments directory=dpump_DIR dumpfile=hrdept.dmp logfile=expdept.log&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  remap_data:departments.location:remap_pkg.map_loc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  remap_data:departments.department_id:remap_pkg.map_id&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;L&#39;exemple précédent montre un changement les valeurs de colonnes location et departement_id par des valeurs arbitraires (mais de même type!) retournées par des fonctions utilisateur.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Il y a aussi &lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;REMAP_TABLE, REMAP_DATAFILE ET REMAP_TABLESPACE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/4467537379891471115/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/4467537379891471115' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4467537379891471115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4467537379891471115'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/02/les-parametres-remap-dans-data-pump.html' title='DATA PUMP : Les paramétres REMAP_* dans'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-6951183733078163075</id><published>2010-02-01T08:01:00.000-08:00</published><updated>2014-08-13T07:15:50.953-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Oracle : Limter l&#39;accés à la base avec le listener</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Lorsque on veut limiter les machine  à partir de laquelle on veut se connecter, généralement on deux choix soit en le fait avec un déclencheur sur l&#39;événement DATABASE LOGON, soit en le fait au niveau listener est c&#39;est plus simple à implémenter.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;On ajoute les deux lignes suivantes dans le fichier sqlnet.ora :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;tcp.validnode_checking=YES&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;tcp.invited_nodes= (hosta1,10.130.1.54,cronix,servpl)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;La première ligne active la vérification de la source de connexion, la deuxième spécifie les machines à partir de quelles la connexion est autorisée, vous devez recharger le listener pour que ca prend effet :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;C:\&amp;gt;lsnrctl reload&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 31-JANV.-2010 16:43:13&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Copyright (c) 1991, 2005, Oracle.  All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Connexion à (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;La commande a réussi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Si vous essayez la connexion à partir d&#39;une autre machine  vous aurez le message suivant :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ERROR:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-12537: TNS:connection closed&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/6951183733078163075/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/6951183733078163075' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6951183733078163075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6951183733078163075'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/02/limter-lacces-la-base-avec-le-listener.html' title='Oracle : Limter l&#39;accés à la base avec le listener'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-8833716940567706665</id><published>2010-02-01T07:57:00.000-08:00</published><updated>2014-08-13T07:13:20.503-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL : Foncion Cube</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;La fonction CUBE est comme sa petite sœur ROLLUP est une fonction d&#39;agrégation qui permet d&#39;avoir tout les combinaisons entre les composants d&#39;une agrégation, un exemple :&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select deptno,job,sum(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  from emp group by cube(deptno,job)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  order by deptno;&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 240px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;3&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;DEPTNO&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JOB&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SUM(SAL)&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;---------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;PRESIDENT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;8750&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ANALYST&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1900&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10875&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SALESMAN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;9400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ANALYST&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;4150&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;8275&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;PRESIDENT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SALESMAN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;29025&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;18 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Le résultat montre quatre agrégations par les deux colonnes (deptno,job), par deptno seulement, par job seulement et le total dans toute la table ce que revient à faire mais avec quatre passages de la table emp alors que la précédente le fait dans un seule passage :&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select deptno,job,sum(sal) from emp group  by deptno,job&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  union&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  select to_number(null),job,sum(sal) from emp group by job&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  4  union&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  5  select deptno,to_char(null),sum (sal) from emp group by deptno&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  6  union&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  7  select to_number(null),to_char(null),sum(sal) from emp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 240px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;3&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;DEPTNO&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JOB&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SUM(SAL)&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;---------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;PRESIDENT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;8750&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ANALYST&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1900&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10875&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SALESMAN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;9400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ANALYST&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLERK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;4150&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MANAGER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;8275&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;PRESIDENT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SALESMAN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;29025&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;18 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Le nombre d&#39;agrégation de CUBE est 2^nombre de colonnes dans le select, par contre avec ROLLUP on seulement n+1 ou n est le nombre de colonnes dans le select.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/8833716940567706665/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/8833716940567706665' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/8833716940567706665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/8833716940567706665'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/02/foncion-cube.html' title='SQL : Foncion Cube'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-4754743265275855348</id><published>2010-02-01T07:40:00.000-08:00</published><updated>2014-08-13T07:13:35.522-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL : Foncion Rank()</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;la fonction Rank() est une fonction ananlytique pemettant d&#39;assigner un numero d&#39;ordre à un resultat un exemple simple :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; conn scott/tiger&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Connecté.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select empno,ename,sal from emp order by sal;&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 240px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;3&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;EMPNO&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ENAME&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SAL&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7369&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SMITH&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;800&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7900&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JAMES&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7876&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ADAMS&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1100&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7521&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;WARD&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7654&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MARTIN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7934&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MILLER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7844&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;TURNER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1500&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7499&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ALLEN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7782&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLARK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7698&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;BLAKE&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7566&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JONES&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7788&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SCOTT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7902&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;FORD&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7839&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;KING&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;color: #cc6600; font-size: 100%; font-style: italic;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;14 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;maintenant je veux assigné un numero d&#39;ordre pour chaque employé en se basant sur son salaire :&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-size: 100%; font-style: italic;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;SQL&amp;gt; select empno,ename,sal,rank() over(order by sal) as ord from emp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 320px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;4&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;EMPNO&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ENAME&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SAL&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ORD&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;left&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;----------&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7369&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SMITH&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;800&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7900&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JAMES&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7876&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ADAMS&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1100&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7521&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;WARD&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7654&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MARTIN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7934&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;MILLER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;6&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7844&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;TURNER&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1500&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7499&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;ALLEN&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1600&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7782&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;CLARK&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7698&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;BLAKE&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7566&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;JONES&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;11&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7788&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SCOTT&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;12&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7902&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;FORD&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;12&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7839&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;KING&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;14&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;14 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;on le meme numero d&#39;ordre pour les employés ayant le meme salaire.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://notetechs.blogspot.com/search/label/analytiques%20Over&quot; style=&quot;font-weight: bold;&quot;&gt;voire le post fonctions analytiques&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/4754743265275855348/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/4754743265275855348' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4754743265275855348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4754743265275855348'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/02/foncion-rank.html' title='SQL : Foncion Rank()'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-201924710572447524</id><published>2010-01-25T01:55:00.000-08:00</published><updated>2014-08-13T07:17:22.218-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Operating System"/><category scheme="http://www.blogger.com/atom/ns#" term="Performance"/><title type='text'>Vmstat, Top, free...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: verdana; font-size: 100%;&quot;&gt;Pour superviser son system sous linux pas besoin d&#39;utiliser des logiciels tierces une panoplie de commandes est la pour vous servir; une des commandes utilitaires dans est vmstat, celle-ci permet de donner des statistiques sur les process, les IO, l&#39;utilisation de la mémoire, l&#39;utilisation du processeur utiliser sans arguments ca donne la sortie suivantes :&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-size: 100%; font-style: italic;&quot;&gt;oracle@HOST1:~&amp;gt; vmstat&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: verdana; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;file:///C:/Users/Moha/AppData/Local/Temp/moz-screenshot.png&quot; /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-F1fAlFPaobetiRG_n7dy8AdiUWQUaCjEXT0RS3dpK9WVoTMnl3T-GUk0SSGhGbX32brrFvYc3zw3x2bQvbxrN0Wts-Rwst7UmbtQTj2tCggr0CM7CIvIykNgymUXh0XQboJ9A7W4rg/s1600-h/vmstat.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-F1fAlFPaobetiRG_n7dy8AdiUWQUaCjEXT0RS3dpK9WVoTMnl3T-GUk0SSGhGbX32brrFvYc3zw3x2bQvbxrN0Wts-Rwst7UmbtQTj2tCggr0CM7CIvIykNgymUXh0XQboJ9A7W4rg/s400/vmstat.png&quot; id=&quot;BLOGGER_PHOTO_ID_5430620056615122882&quot; style=&quot;cursor: pointer; height: 58px; width: 627px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: verdana; font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;La sortie est divisée en six colonnes chacune contienne des informations spécifiques.&lt;br /&gt;Process :&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: 100%;&quot;&gt;&lt;br /&gt;b pour l&#39;attente de libération de CPU, cette colonne ne doit pas prendre constamment une valeur supérieure à 0.&lt;br /&gt;&lt;br /&gt;swap :&lt;br /&gt;si et so pour swap in et swap out ces deux valeurs indique l&#39;échange de blocks SWAP entre la mémoire et les disques ces deux valeurs doivent rester à 0 le plus longtemps possible.&lt;br /&gt;&lt;br /&gt;CPU :&lt;br /&gt;CS pour contexte switch indique le nombre de changements de contexte pour le CPU. &lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: 100%;&quot;&gt;&lt;br /&gt;id pour idle time le temps d&#39;inactivité du processeur.&lt;br /&gt;wa temps d&#39;attente pour les IO, il ne doit pas être très élevé.&lt;br /&gt;&lt;br /&gt;system :&lt;br /&gt;in nombre d&#39;interruption system par seconde.&lt;br /&gt;&lt;br /&gt;io :&lt;br /&gt;bi et bo nombre de blocks écrits et lus du disque par seconde.&lt;br /&gt;&lt;br /&gt;memory :&lt;br /&gt;Donne des statistiques globales sur la mémoire, tai&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: 100%;&quot;&gt;lle de mémoire libre, cache, swap.&lt;br /&gt;&lt;br /&gt;Une autre commande utile est la commande TOP qui donne une vue en temps réelle sur l&#39;utilisation mémoire, cpu, priorité... pour chaque process et d&#39;autre information utile, la sortie est par défaut trié selon la consommation des ressources la plus couteuse :&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;oracle@HOST1:~&amp;gt; top&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: verdana; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkSK-hJw59ZOv5WGwB6LPgsxUOIG7Sap_HYrMfnPqwbIfcFgnkW-hnlHD6hHoC-Sz_R2oD2zlHOPDNczQZkijj5rXZAKvSvr1ir53fyhyphenhyphenxW0_U6RJxcxs4T6U_YoqOG8RPyzBjM2PB4Q/s1600-h/top.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkSK-hJw59ZOv5WGwB6LPgsxUOIG7Sap_HYrMfnPqwbIfcFgnkW-hnlHD6hHoC-Sz_R2oD2zlHOPDNczQZkijj5rXZAKvSvr1ir53fyhyphenhyphenxW0_U6RJxcxs4T6U_YoqOG8RPyzBjM2PB4Q/s400/top.png&quot; id=&quot;BLOGGER_PHOTO_ID_5430621257443713970&quot; style=&quot;cursor: pointer; height: 330px; width: 638px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: 100%;&quot;&gt;D’autres commandes plus ou moins utiles :&lt;br /&gt;mpstat, iostat, free, sar, ps, netstat...pour plus de détails consulter l&#39;aide en ligne :&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;oracle@HOST1:~&amp;gt; man free&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/201924710572447524/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/201924710572447524' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/201924710572447524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/201924710572447524'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/pour-superviser-son-system-sous-linux.html' title='Vmstat, Top, free...'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-F1fAlFPaobetiRG_n7dy8AdiUWQUaCjEXT0RS3dpK9WVoTMnl3T-GUk0SSGhGbX32brrFvYc3zw3x2bQvbxrN0Wts-Rwst7UmbtQTj2tCggr0CM7CIvIykNgymUXh0XQboJ9A7W4rg/s72-c/vmstat.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-8990076578548317338</id><published>2010-01-25T01:51:00.000-08:00</published><updated>2014-08-13T07:17:50.868-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>PL/SQL : La clause AUTHID CURRENT_USER</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Quand on appelle une procédure, une fonction ou un package il y a deux modes de privilèges d&#39;exécution :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Soit avec les droits de définition; le code utilisé permet d&#39;accéder aux objets qu&#39;il appelle avec les droits utilisateur qui a écrit ce code.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Soit avec les droits d&#39;invocation; le code est alors appelé avec les droits de l&#39;utilisateur qui appelé le code stocké.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Explication :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;L’utilisateur Scott se connecte et fait une select sur la table employees qui est dans le schéma hr :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select first_name from HR.employees where employee_id=190;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;select first_name from HR.employees where employee_id=190&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;                          *&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ERREUR Ó la ligne 1 :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-00942: Table ou vue inexistante&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Il obtient une erreur; alors l&#39;utilisateur HR crée une procédure qui fait la même chose et donne le droit d&#39;exécution a Scott :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; create or replace procedure normale_proc is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  nom varchar2(20);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  begin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  4  select first_name into nom from employees where employee_id=190;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  5  dbms_output.put_line(&#39;le nom est :&#39;||nom);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  6  end;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  7  /&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure créée.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; grant execute on normale_proc to scott;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Autorisation de privilèges (GRANT) accepte.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Maintenant pour Scott ça donne le résultat suivant :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; set serveroutput on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; exec hr.normale_proc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;le nom est :Timothy&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure PL/SQL terminée avec succès.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Ce genre de fonctionnement peut s&#39;avérer très pratiques si on ne veut pas donner des privilèges sur les objets auxquels il accède notre code, mais il peut s&#39;avérer tres dangereux si notre code contient une quelconque vulnérabilité, par exemple une injection SQL alors les droits d&#39;exécution seront ceux du propriétaire du code.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Pour activer les droits d&#39;invocation pour un code il suffit d&#39;ajouter la clause AUTHID CURRENT_USER avant IS, le même exemple :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; create or replace procedure aut_proc AUTHID CURRENT_USER is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  nom varchar2(20);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  begin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  4  select first_name into nom from employees where employee_id=190;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  5  dbms_output.put_line(&#39;le nom est :&#39;||nom);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  6  end;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  7  /&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure créée.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; grant execute on aut_proc to scott;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Autorisation de privilèges (GRANT) acceptée.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Maintenant pour Scott ca donne un 942:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; exec hr.aut_proc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;BEGIN hr.aut_proc; END;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ERREUR Ó la ligne 1 :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-00942: Table ou vue inexistante&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-06512: Ó &quot;HR.AUT_PROC&quot;, ligne 4&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-06512: Ó ligne 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;pour savoir quelle mode d&#39;exécution pour une procédure on consulte la vue user_procedures :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select OBJECT_NAME,AUTHID from user_procedures&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  where OBJECT_NAME in (&#39;AUT_PROC&#39;,&#39;NORMALE_PROC&#39;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;OBJECT_NAME                                       AUTHID&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;------------------------------ ------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;AUT_PROC                                                 CURRENT_USER&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;NORMALE_PROC            DEFINER&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/8990076578548317338/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/8990076578548317338' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/8990076578548317338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/8990076578548317338'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/la-clause-authid-currentuser.html' title='PL/SQL : La clause AUTHID CURRENT_USER'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-4480008850703248393</id><published>2010-01-25T01:47:00.000-08:00</published><updated>2014-08-13T07:14:06.442-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>PL/SQL : Le package DBMS_RANDOM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Le package dbms_rnadom dans oracle permet de générer des valeurs aléatoires entres -2^31 et 2^31, pour ce faire vous devez initialiser le générateur pseudo-aléatoire (il n&#39;y a pas de génération aléatoire à 100% dans l&#39;informatique) avec une valeur numérique : &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; exec dbms_random.initialize(34);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure PL/SQL terminée avec succès.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;La procédure initialize ne prend que des valeurs numériques comme paramètre, une autre procédure qui fait la même chose mais qu&#39;est obsolète est la procédure SEED, le seul avantage de SEED est l&#39;utilisation de chaine de caractère pour initialiser le générateur :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; exec dbms_random.seed(&#39;bla bla bla..&#39;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure PL/SQL terminée avec succès.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Une fois le générateur initialisé vous pouvez générer des nombres en appelant la fonction value :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select dbms_random.value(100,150) from dual;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;DBMS_RANDOM.VALUE(100,150)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;--------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;                106,250729&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;La fonction value prend deux paramètres qui constituent la plage dans laquelle les nombres seront générés&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/4480008850703248393/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/4480008850703248393' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4480008850703248393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4480008850703248393'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/le-package-dbmsrandom.html' title='PL/SQL : Le package DBMS_RANDOM'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-6887168818466262746</id><published>2010-01-25T01:45:00.000-08:00</published><updated>2014-08-13T07:21:22.895-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Oracle :  injection du code PL/SQL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;L’attaque du code PL/SQL par une injection SQL est toujours d&#39;actualité malgré son apparition depuis plusieurs années, cela est du généralement aux mauvaises habitudes des développeurs, en gros l&#39;attaque consiste à forgé une autre requête a partir d&#39;une requête qui accepte des paramètres, exemple :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; create or replace procedure vul_proc(param varchar2) is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  type fir_name is table of hr.employees.first_name%type;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  fname fir_name := fir_name();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  4  stmt varchar2(300);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  5  begin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  6  stmt:=&#39;select first_name from hr.employees where last_name=&#39;&#39;&#39;||param||&#39;&#39;&#39;&#39;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  7  execute immediate stmt bulk collect into fname;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  8  for i in fname.first..fname.last loop&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  9  dbms_output.put_line(fname(i));&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt; 10  end loop;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt; 11  end;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt; 12  /&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure crée.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;L’utilisation légitime de cette procédure est :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; set serveroutput on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; exec vul_proc(&#39;King&#39;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Janette&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Steven&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure PL/SQL terminée avec succès.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Mais le paramètre param est concaténé à l&#39;instruction stmt sans aucun contrôle ce qui peut donner des idées :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; exec vul_proc(&#39;King&#39;&#39; or &#39;&#39;1&#39;&#39;=&#39;&#39;1 &#39;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Ellen&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Sundar&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Mozhe&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;David&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Hermann&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Shelli&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;ou pire encore :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; exec vul_proc(&#39;King&#39;&#39; union select password from dba_users where &#39;&#39;1&#39;&#39;=&#39;&#39;1 &#39;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;2BE6F80744E08FEB&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;2CA614501F09FCCC&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;2D594E86F93B17A1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;3DF26A8B17D0F29F&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;3FB8EF9DB538647C&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;4A3BA55E08595C81&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;4C6D73C3E8B0F0DA&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;66F4EF5650C20355&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;71E687F036AD56E5&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;72979A94BAD2AF80&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;72E382A52E89575A&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;7C9BA362F8314299&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;7EFA02EC7EA6B86F&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;84B8CBCA4D477FA3&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;88A2B2C183431F00&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;88D8364765FCE6AF&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;8A8F025737A9097A&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;9793B3777CD3BD1A&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;9C30855E7E0CB02D&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;BFBA5A553FD9E28A&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;CE4A36B8E06CA59C&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;DF02A496267DEE66&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;F25A184809D6458D&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;F894844C34402B67&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;FA1D2B85B70213F3&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;FFF45BB2C0C327EC&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Janette&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Steven&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;anonymous&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure PL/SQL terminée avec succès.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Pour éviter ce genre de situation le mieux sera d&#39;utiliser des variables attachées dans la chaine passer à execute immediate et une clause USING pour utiliser le paramètre :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; create or replace procedure vul_proc(param varchar2) is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  type fir_name is table of hr.employees.first_name%type;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3  fname fir_name := fir_name();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  4  stmt varchar2(300);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  5  begin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  6  stmt:=&#39;select first_name from hr.employees where last_name= :param &#39;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  7  execute immediate stmt bulk collect into fname using param;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  8  for i in fname.first..fname.last loop&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  9  dbms_output.put_line(fname(i));&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt; 10  end loop;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt; 11  end;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt; 12  /&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Procédure crue.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;L’attaque par une injection SQL ne marchera pas, puisque ORACLE précompile l&#39;instruction STMT et il ne permettra qu&#39;un seul paramètre valide qui ne contiendra aucun mot clé SQL :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;SQL&amp;gt; exec vul_proc(&#39;King&#39;&#39; union select password from dba_users where &#39;&#39;1&#39;&#39;=&#39;&#39;1 &#39;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;BEGIN vul_proc(&#39;King&#39;&#39; union select password from dba_users where &#39;&#39;1&#39;&#39;=&#39;&#39;1 &#39;); END;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ERREUR à la ligne 1 :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-06512: à &quot;SYS.VUL_PROC&quot;, ligne 8&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ORA-06512: à ligne 1&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/6887168818466262746/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/6887168818466262746' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6887168818466262746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/6887168818466262746'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/oracle-injection-du-code-plsql.html' title='Oracle :  injection du code PL/SQL'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-386732225503858026</id><published>2010-01-18T06:01:00.000-08:00</published><updated>2014-08-13T07:18:24.538-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Operating System"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Configurer SSH entre deux machines</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;la communication entre les machines se fait naturellement sur un réseau qui sert de canal de communication en utilisant un protocole, la sécurité de cette communication est affectée par la sécurité de ce protocole, passer les anciens protocoles comme Telnet, rlogin et rsh le plus utilisé en ce moment est ssh, certes ca ne garantie pas une sécurité totale de la communication des failles spécifiques à ce protocole existe; mais il reste le plus sécurisé, ce que je présente ici c&#39;est la configuration de ssh entre deux machines linux, les étapes ci-dessous sont à exécuter dans les deux machines (host1 et host2).&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1) en premier lieu en va vérifier si ssh est installé généralement il est les packages ssh sont installés par défaut:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$rpm -qa | grep -i ssh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2)maintenant il faut vérifier si le démon ssh (sshd) est démarré :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$service sshd status&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;S’il n&#39;est pas démarré il faut le lancer avec :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$service sshd start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Configurer aussi le démarrage automatique de sshd avec :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$chkconfig --level 2345 sshd on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;3) maintenant on crée un répertoire /home/root/.ssh :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$mkdir /home/root/.sshd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;4) on génère les clés de cryptage RSA et DSA :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$/usr/bin/ssh-keygen -t rsa &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Generating public/private rsa key pair.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Enter file in which to save the key (/home/root/.ssh/id_rsa):&lt;-- accepte=&quot;&quot; chemin=&quot;&quot; cl=&quot;&quot; d=&quot;&quot; faut=&quot;&quot; la=&quot;&quot; le=&quot;&quot; on=&quot;&quot; ou=&quot;&quot; par=&quot;&quot; sera=&quot;&quot; span=&quot;&quot; stock=&quot;&quot; style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Enter passphrase (empty for no passphrase): &lt;-- celui=&quot;&quot; de=&quot;&quot; diff=&quot;&quot; entre=&quot;&quot; mot=&quot;&quot; on=&quot;&quot; passe=&quot;&quot; rent=&quot;&quot; root=&quot;&quot; span=&quot;&quot; style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot; un=&quot;&quot;&gt;Enter same passphrase again:&lt;!------&gt;&lt;!------&gt;&lt;/--&gt;&lt;/--&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Your identification has been saved in /home/root/.ssh/id_rsa.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Your public key has been saved in /home/root/.ssh/id_rsa.pub.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;The key fingerprint is:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;5c:d9:d8:c5:3d:8d:0b:10:33:42:9c:83:45:a1:d0:61 root@host1.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$/usr/bin/ssh-keygen -t dsa&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Generating public/private dsa key pair.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Enter file in which to save the key (/home/root/.ssh/id_dsa):&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Enter passphrase (empty for no passphrase):&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Enter same passphrase again:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Your identification has been saved in /home/root/.ssh/id_dsa.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Your public key has been saved in /home/root/.ssh/id_dsa.pub.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;The key fingerprint is:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;5c:d9:d8:c5:3d:8d:0b:10:33:42:9c:83:45:a1:d0:61 root@host1.com&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;Si vous lister /home/root/ssh vous aurez quatre fichiers de deux types:&lt;br /&gt;id_dsa et id_rsa         : contiennent les clés privées DSA et RSA, il ne faut jamais les distribuer.&lt;br /&gt;id_dsa.pub et id_rsa.pub : contiennent les clés publics DSA et RSA.&lt;br /&gt;&lt;br /&gt;5) on copie les clés publics dans un fichier qu&#39;on appel authorized_keys :&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$cd /home/root/.ssh&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$cat /home/root/.ssh/id_rsa.pub &amp;gt;&amp;gt;/home/root/.ssh/authorized_keys&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$cat /home/root/.ssh/id_dsa.pub &amp;gt;&amp;gt;/home/root/.ssh/authorized_keys&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7) pour l&#39;échange des clés on copie de host1 vers host2 avec :&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$scp authorized_keys host2 /home/root/.ssh/authorized_keys_host1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;Enter passphrase for key &#39;/home/root/.ssh/id_dsa&#39;:&lt;-- cl=&quot;&quot; de=&quot;&quot; des=&quot;&quot; entrer=&quot;&quot; et=&quot;&quot; g=&quot;&quot; host2=&quot;&quot; le=&quot;&quot; mot=&quot;&quot; n=&quot;&quot; passe=&quot;&quot; ration=&quot;&quot; root=&quot;&quot; s=&quot;&quot; span=&quot;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Dans host2 maintenant vers host1 :&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$cat /home/root/.ssh/authorized_keys_host1 &amp;gt;&amp;gt; /home/root/.ssh/authorized_keys&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$scp /home/root/.ssh/authorized_keys host1:/home/root/.ssh/authorized_keys &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Maintenant le fichier /home/root/.ssh/authorized_keys est le même, jusqu&#39;ici si vous faites à partir de host1:&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$ssh host2 uname -a&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Vous devez entrer le mot de passe entrer lors de la génération des clés, pour éviter d&#39;entrer ce mot de passe chaque fois;pour cela il suffit de taper dans chaque machine :&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$exec /usr/bin/ssh-agent $SHELL&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;$/usr/bin/ssh-add&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!------&gt;&lt;/--&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/386732225503858026/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/386732225503858026' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/386732225503858026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/386732225503858026'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/configurer-ssh-entre-deux-machines.html' title='Configurer SSH entre deux machines'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-1054755960335109748</id><published>2010-01-18T05:18:00.000-08:00</published><updated>2014-08-13T07:19:10.875-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="OEM"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>EMCA : Creation de l&#39;OEM repository</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;À partir de la version 10g la base de données Oracle s&#39;est dirigé vers le WEB pour fournir une nouvelle version d&#39;Entreprise Manager à la place de celui de la 9i basé sur java; ainsi que des variantes selon l&#39;utilisation Dbcontrol pour une seule Bd ou grid control pour centraliser la gestion de plusieurs cibles.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;La plupart du temps l&#39;installation d&#39;entreprise manager se fait lors de la création de la base (si vous n&#39;opter pas pour le gride control), mais vous pouvez toujours laisser l&#39;installation d&#39;entreprise manager après la création de la base.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Pour l&#39;installer il y de méthodes soit l&#39;outil graphique DBCA, soit un programme en ligne de commande EMCA (pour Entreprise Manager Configuration Assistant) c&#39;est celui dont nous allons parler.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Sans parler de tous les arguments d’EMCA sacher que la syntaxe générale est :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Emca operation mode flag parameters&lt;operation&gt;&lt;mode&gt;&lt;flag&gt;&lt;parameters&gt;&lt;operation&gt; &lt;mode&gt; &lt;flag&gt; &lt;parameters&gt;&lt;operation&gt; &lt;mode&gt; &lt;flag&gt; &lt;parameters&gt;&lt;/parameters&gt;&lt;/flag&gt;&lt;/mode&gt;&lt;/operation&gt;&lt;/parameters&gt;&lt;/flag&gt;&lt;/mode&gt;&lt;/operation&gt;&lt;/parameters&gt;&lt;/flag&gt;&lt;/mode&gt;&lt;/operation&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Et si vous pouvez voire la liste complète en tapant :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;&amp;gt;emca -h&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Alors pour créer votre console d&#39;administration rien de plus simple après la création de la base tapez :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;$ emca -config dbcontrol db -repos create&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;STARTED EMCA at jun 06, 2010 9:21:39 PM&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;EM Configuration Assistant, Version 10.2.0.1.0 Production&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;Copyright (c) 2003, 2005, Oracle.  All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Enter the following information:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Database SID: db10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Listener port number: 1521&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Password for SYS user: change_on_install&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Password for DBSNMP user: manager&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Password for SYSMAN user: manager&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Email address for notifications (optional):&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Outgoing Mail (SMTP) server for notifications (optional):&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    -----------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    You have specified the following settings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Database ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Database hostname ................ dbserver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Listener port number ................ 1521&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Database SID ................ db10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Email address for notifications ...............&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Outgoing Mail (SMTP) server for notifications ...............&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    -----------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Do you wish to continue? [yes(Y)/no(N)]: Y&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    jun 06, 2010 10:00:12 PM oracle.sysman.emcp.EMConfig perform&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/db10/emca_2010-01-06_09-21-39-PM.log.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    jun 06, 2010 10:00:15 PM oracle.sysman.emcp.EMReposConfig createRepository&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    INFO: Creating the EM repository (this may take a while) ...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    jun 06, 2010 10:05:51 PM oracle.sysman.emcp.EMReposConfig invoke&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    INFO: Repository successfully created&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    jun 06, 2010 10:06:01 PM oracle.sysman.emcp.util.DBControlUtil startOMS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    INFO: Starting Database Control (this may take a while) ...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    jun 06, 2010 10:07:49 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    INFO: Database Control started successfully&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    jun 06, 2010 10:07:49 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    INFO: &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The Database Control URL is http://dbserver:1158/em &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    Enterprise Manager configuration completed successfully&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;    FINISHED EMCA at jun 06, 2010 10:07:49 PM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Vous devez fournir quelques informations comme le SID le port listner.., cela prends quelques minutes et vous pouvez suivre les étapes de création, une fois le programme terminé noter l&#39;adresse à la fin (sous forme de http(s)://nommachine:port/em)  est lancer la avec votre navigateur&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Pour le recréer il suffit de changer create avec recreate dans la commande précédente mais si vous êtes amené à désinstaller entreprise manager la commande suivante suffira :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana;&quot;&gt;$ emca -deconfig dbcontrol db -repos drop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;STARTED EMCA at jun 06, 2006 9:53:55 PM&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;EM Configuration Assistant, Version 10.2.0.1.0 Production&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Copyright (c) 2003, 2005, Oracle.  All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Enter the following information:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Database SID: db10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Listener port number: 1521&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Password for SYS user: change_on_install&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Password for SYSMAN user: manager&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Do you wish to continue? [yes(Y)/no(N)]: Y&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;jun 06, 2006 9:54:15 PM oracle.sysman.emcp.EMConfig perform&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/db10/emca_2006-01-06_09-53-55-PM.log.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;jun 06, 2006 9:54:16 PM oracle.sysman.emcp.util.DBControlUtil stopOMS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;INFO: Stopping Database Control (this may take a while) ...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;jun 06, 2006 9:54:35 PM oracle.sysman.emcp.EMReposConfig dropRepository&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;INFO: Dropping the EM repository (this may take a while) ...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;jun 06, 2006 9:56:48 PM oracle.sysman.emcp.EMReposConfig invoke&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;INFO: Repository successfully dropped&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Enterprise Manager configuration completed successfully&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;FINISHED EMCA at jun 06, 2006 9:56:48 PM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Il y une autre commande utile pour vérifier le statut d&#39;entreprise manager c&#39;est :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;&amp;gt;emctl status dbconsole&lt;/span&gt; --qui fournit le statut de la console web.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Et :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;emctl status agent &lt;/span&gt;--pour le status de l&#39;agent d&#39;entreprise manager&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Vous pouvez arrêter la console avec :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;&amp;gt;emctl stop dbconsole&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Ou la démarrer avec :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;&amp;gt;emctl start dbconsole&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/1054755960335109748/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/1054755960335109748' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/1054755960335109748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/1054755960335109748'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/emca-creation-de-loem-repository.html' title='EMCA : Creation de l&#39;OEM repository'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-4101613718434844986</id><published>2010-01-18T05:12:00.000-08:00</published><updated>2014-08-13T07:19:33.531-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL : Fonctions LAG et LEAD</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Les fonctions LAG et LEAD sont deux fonctions analytiques qui permettent d&#39;accéder à une ligne avant ou après la ligne courante, la syntaxe de ces fonctions est simple :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;LAG|lead(colonne, nombre de ligne avant|après la ligne courante, valeur par default pour la première|dérniere ligne).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;La valeur par défaut n&#39;est pas obligatoire si vous l&#39;omettez Oracle renvoie NULL à la place, un petit exemple :&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select empno,sal,deptno,sal-lag(sal,1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  over (order by empno) as trou&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3   from emp order by empno;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 320px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;4&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;EMPNO&lt;/span&gt;&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SAL&lt;/span&gt;&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;DEPTNO&lt;/span&gt;&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;TROU&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7369&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;800&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7499&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1600&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;800&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7521&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-350&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7566&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1725&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7654&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-1725&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7698&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7782&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7788&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;550&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7839&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7844&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1500&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-3500&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7876&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1100&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7900&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-150&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7902&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2050&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7934&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-1700&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;14 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;L’exemple précédent calcul la différence de salaire entre un employé et celui qui le précède directement dans empno, le suivant calcule l&#39;inverse :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;SQL&amp;gt; select empno,sal,deptno,sal-lead(sal,1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  2  over (order by empno) as trou&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  3   from emp order by empno;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-family: verdana; font-style: italic; width: 320px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;4&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;EMPNO&lt;/span&gt;&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;SAL&lt;/span&gt;&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;DEPTNO&lt;/span&gt;&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;TROU&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7369&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;800&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-800&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7499&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1600&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;350&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7521&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-1725&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7566&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2975&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1725&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7654&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1250&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-1600&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7698&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2850&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7782&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;2450&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-550&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7788&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-2000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7839&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;5000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3500&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7844&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1500&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;400&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7876&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1100&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;150&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7900&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;950&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;30&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;-2050&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7902&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;3000&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;20&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1700&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td align=&quot;right&quot; height=&quot;17&quot; num=&quot;&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;7934&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;1300&lt;/span&gt;&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;14 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://notetechs.blogspot.com/search/label/analytiques%20Over&quot; style=&quot;font-weight: bold;&quot;&gt;voire le post fonctions analytiques&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/4101613718434844986/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/4101613718434844986' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4101613718434844986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/4101613718434844986'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/fonctions-lag-et-lead.html' title='SQL : Fonctions LAG et LEAD'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-2263878964536275387</id><published>2010-01-18T03:37:00.000-08:00</published><updated>2014-08-13T07:19:54.072-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>L&#39;utilitaire Oerr</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Oerr est un utilitaire pratique qui permet de donner la cause des erreurs oracle et les solutions possibles, l&#39;utilisation est facile :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc9933; font-family: verdana; font-style: italic;&quot;&gt;&amp;gt;oerr module_erreur num_erreur&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;exemples des erreurs ORA:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;oracle@host:~&amp;gt; oerr ORA 257&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;00257, 00000, &quot;archiver error. Connect internal only, until freed.&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;// *Cause:  The archiver process received an error while trying to archive&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;//       a redo log.  If the problem is not resolved soon, the database&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;//       will stop executing transactions. The most likely cause of this&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;//       message is the destination device is out of space to store the&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;//       redo log file.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;// *Action:  Check archiver trace file for a detailed description&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;//        of the problem. Also verify that the&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;//       device specified in the initialization parameter&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;//       ARCHIVE_LOG_DEST is set up properly for archiving.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;des erreurs du listner :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;oracle@host:~&amp;gt; oerr TNS 201&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;00201, 00000, &quot;Unable to read answer connection data :%s:\n&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;// *Cause: Improperly formed connect data sent to the Interchange listener.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;// *Action: If problem persists, check the application using the&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;// Interchange (it may be closing down or crashing). Call Oracle Customer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;// Support if the problem cannot be located.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/2263878964536275387/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/2263878964536275387' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/2263878964536275387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/2263878964536275387'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/lutilitaire-oerr.html' title='L&#39;utilitaire Oerr'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-8900344418623287794</id><published>2010-01-18T01:54:00.000-08:00</published><updated>2014-08-13T07:21:59.940-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Performance"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Hints PARALLEL et APPEND</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Pour charger des données d&#39;une table à une autre on utilise généralement :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Insert into table1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;select * from table2;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Mais cette forme de chargement peut prendre du temps si les données à chargé sont trop volumineux, pour accélérer le chargement on utilise deux choses :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1) le hint APPEND qui permet d&#39;insérer les données au delà du High-water mark ce qui évite de chercher des blocs de données libérés après utilisation :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Insert /*+ APPEND */ into grande_table1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;NOLOGGING&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;select * from grande_table2;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;La clause NOLOGGING permet d&#39;éviter de générer des données de journalisation en masse lors du chargement.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2) le hint PARALLEL qui permet d&#39;activer le chargement en parallèle, le parallélisme peut être activé lors de l&#39;insertion ou l&#39;affecter comme attribut à la table :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;Insert /*+ PARALLEL (grande_table2,5)*/ into grande_table1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;NOLOGGING&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;select * from grande_table2;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Ou :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-family: verdana; font-style: italic;&quot;&gt;ALTER TABLE grande_table2 (DGREE 5);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/8900344418623287794/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/8900344418623287794' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/8900344418623287794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/8900344418623287794'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/hints-parallel-et-append.html' title='Hints PARALLEL et APPEND'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-1965210738394398392</id><published>2010-01-18T01:41:00.000-08:00</published><updated>2014-08-13T07:22:24.133-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Oracle : les fonctions analytiques</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Les fonctions analytiques disponible dans ORACLE depuis 8.1 pour répondre à certains problèmes qu&#39;il est difficile d&#39;aborder avec SQL, comme les requêtes pour trouver les n premiers enregistrements dans un group; ou faire un calcul par rapport à la nième ligne, leurs utilisation est plus facile et plus performante que de faire des petites fonctions en PL/SQL, la syntaxe générale :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;fonction_analytique(argument) OVER (&lt;/span&gt;&lt;/span&gt;&lt;clause_de_partition style=&quot;font-family: verdana;&quot;&gt;&lt;clause_de_order&gt;&lt;clause_de_fenetrage&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;La clause partition :&lt;/span&gt;&lt;br /&gt;Comme son nom l&#39;indique permet de partitionner (pas au sens des tables partitionnées) un résultat en un ensemble de groups selon une valeur.&lt;br /&gt;&lt;br /&gt;Exemple:&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;SQL&amp;gt; select ename,sal,deptno,avg(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;over(partition by deptno) from emp ;&lt;br /&gt;&lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-style: italic; width: 474px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;2&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;col style=&quot;width: 45pt;&quot; width=&quot;60&quot;&gt;&lt;/col&gt;  &lt;col style=&quot;width: 191pt;&quot; width=&quot;254&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;ENAME&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;SAL&lt;/td&gt;   &lt;td style=&quot;width: 45pt;&quot; width=&quot;60&quot;&gt;DEPTNO&lt;/td&gt;   &lt;td style=&quot;width: 191pt;&quot; width=&quot;254&quot;&gt;AVG(SAL)OVER(PARTITIONBYDEPTNO)&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;CLARK&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2450&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2916.6666700000001&quot;&gt;2916,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;KING&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;5000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2916.6666700000001&quot;&gt;2916,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MILLER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1300&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2916.6666700000001&quot;&gt;2916,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SMITH&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;800&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2175&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ADAMS&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2175&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;FORD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2175&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SCOTT&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2175&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JONES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2975&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2175&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ALLEN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1600&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1566.6666700000001&quot;&gt;1566,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;BLAKE&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2850&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1566.6666700000001&quot;&gt;1566,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MARTIN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1566.6666700000001&quot;&gt;1566,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JAMES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;950&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1566.6666700000001&quot;&gt;1566,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;TURNER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1500&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1566.6666700000001&quot;&gt;1566,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;WARD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1566.6666700000001&quot;&gt;1566,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;14 ligne(s) sélectionné(s).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;La clause d&#39;ordre :&lt;/span&gt;&lt;br /&gt;Cette clause sert pour spécifier l&#39;ordre dans lequel le groupe sera traité, attention ici l&#39;ordre by à un comportement spécial il ajoute une fenêtre par défaut qui définit par la ligne en cours est tous les lignes précédentes dans le groupe.&lt;br /&gt;Exemple:&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;SQL&amp;gt; select ename,sal,deptno,avg(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;over(partition by deptno order by ename) as avg_an from emp ;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-style: italic; width: 320px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;4&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;ENAME&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;SAL&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;DEPTNO&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;AVG_AN&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;CLARK&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2450&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2450&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;KING&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;5000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3725&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MILLER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1300&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2916.6666700000001&quot;&gt;2916,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ADAMS&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;FORD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2050&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JONES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2975&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2358.3333299999999&quot;&gt;2358,33333&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SCOTT&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2518.75&quot;&gt;2518,75&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SMITH&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;800&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2175&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ALLEN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1600&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1600&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;BLAKE&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2850&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2225&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JAMES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;950&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1800&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MARTIN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1662.5&quot;&gt;1662,5&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;TURNER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1500&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1630&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;WARD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1566.6666700000001&quot;&gt;1566,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;14 ligne(s) sélectionné(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ici comme vous le constater le résultat est partitionné par deptno est le tri par ENAME dans chaque département, mais la moyenne du salaire est calculé par rapport aux lignes précédentes en même département, mais si vous ne spécifiez pas PARTITION BY alors le groupe pris est toute la table.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;SQL&amp;gt; select ename,sal,deptno,avg(sal) over(order by ename) as avg_an from emp ;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-style: italic; width: 320px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;4&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;ENAME&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;SAL&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;DEPTNO&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;AVG_AN&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ADAMS&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ALLEN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1600&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1350&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;BLAKE&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2850&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1850&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;CLARK&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2450&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2000&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;FORD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2200&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JAMES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;950&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1991.6666700000001&quot;&gt;1991,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JONES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2975&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2132.1428599999999&quot;&gt;2132,14286&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;KING&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;5000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2490.625&quot;&gt;2490,625&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MARTIN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2352.7777799999999&quot;&gt;2352,77778&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MILLER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1300&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2247.5&quot;&gt;2247,5&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SCOTT&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2315.9090900000001&quot;&gt;2315,90909&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SMITH&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;800&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2189.5833299999999&quot;&gt;2189,58333&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;TURNER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1500&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2136.5384600000002&quot;&gt;2136,53846&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;WARD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;14 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;La clause de fenêtrage :&lt;/span&gt;&lt;br /&gt;La clause de fenêtrage sert à définir une fenêtre dans le même groupe à lequel sera appliquée la fonction, exemple:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;SQL&amp;gt; select ename,sal,deptno,avg(sal)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt; 2  over(partition by deptno order by ename rows 2 preceding) as avg_an&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt; 3  from emp ;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-style: italic; width: 320px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;4&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;ENAME&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;SAL&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;DEPTNO&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;AVG_AN&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;CLARK&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2450&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2450&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;KING&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;5000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3725&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MILLER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1300&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2916.6666700000001&quot;&gt;2916,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ADAMS&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;FORD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2050&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JONES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2975&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2358.3333299999999&quot;&gt;2358,33333&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SCOTT&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2991.6666700000001&quot;&gt;2991,66667&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SMITH&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;800&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2258.3333299999999&quot;&gt;2258,33333&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ALLEN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1600&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1600&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;BLAKE&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2850&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2225&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JAMES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;950&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1800&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MARTIN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1683.3333299999999&quot;&gt;1683,33333&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;TURNER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1500&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1233.3333299999999&quot;&gt;1233,33333&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;WARD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;1333.3333299999999&quot;&gt;1333,33333&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;14 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ici la fenêtre est de 3 lignes et la moyenne est calculée à partir de la ligne courante et les deux lignes précédente (ex: scott (3000+2975+3000)/3 = 2991,6667), il y a autres spécificateurs de fenetrage pour la list complète consulter la reference SQL.&lt;br /&gt;&lt;br /&gt;Si vous omettez toutes les clauses alors la pas de notion d&#39;ordre mais la fenêtre est la partition ne font qu&#39;un toute la table :&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;SQL&amp;gt; select ename,sal,deptno,avg(sal) over() as avg_an from emp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; str=&quot;&quot; style=&quot;border-collapse: collapse; color: #cc6600; font-style: italic; width: 320px;&quot;&gt;&lt;colgroup&gt;&lt;col span=&quot;4&quot; style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot;&gt;ENAME&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;SAL&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;DEPTNO&lt;/td&gt;   &lt;td style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;AVG_AN&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SMITH&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;800&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ALLEN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1600&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;WARD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JONES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2975&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MARTIN&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1250&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;BLAKE&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2850&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;CLARK&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;2450&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;SCOTT&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;KING&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;5000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;TURNER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1500&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;ADAMS&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1100&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;JAMES&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;950&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;30&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;FORD&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;3000&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;20&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;MILLER&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;1300&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;&quot;&gt;10&lt;/td&gt;   &lt;td align=&quot;right&quot; num=&quot;2073.2142899999999&quot;&gt;2073,21429&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;span style=&quot;color: #cc6600; font-style: italic;&quot;&gt;14 ligne(s) sélectionnée(s).&lt;/span&gt;&lt;/clause_de_fenetrage&gt;&lt;/clause_de_order&gt;&lt;/clause_de_partition&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/1965210738394398392/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/1965210738394398392' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/1965210738394398392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/1965210738394398392'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/les-fonctions-analytiques-disponible.html' title='Oracle : les fonctions analytiques'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7178620400987993218.post-2547511010216231260</id><published>2010-01-14T04:01:00.000-08:00</published><updated>2010-01-14T04:07:49.756-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WRAP obsfucation PL/SQL"/><title type='text'>Oracle : WRAP obsfucation PL/SQL</title><content type='html'>&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;parfois on a besoin de distribuer du code PL/SQL sans exposer le code source, pour cela Oracle propose un utilitaire autonome qui masque le code source en le convertissant en code portable, le code resultant est independant de la plate forme,permet un chargement et une liaison dynamique, la syntaxe est simple :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;C:\&gt;wrap iname=proc.sql oname=proc.plb&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;PL/SQL Wrapper: Release 9.2.0.1.0- Production on Lu Jan 11 15:18:35 2010&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;Copyright (c) Oracle Corporation 1993, 2001.  All Rights Reserved.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;Processing proc.sql to proc.plb&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;C:\&gt;   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;le fichier proc.sql contient le code suivant :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;create or replace procedure hello is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;begin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;dbms_output.put_line(&#39;Appel de procedure&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;end;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;une fois le fichier converti on l&#39;appel comme n&#39;importe quel fchier sql :&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; @c:\proc.plb&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;Procédure créée.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; set serveroutput on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; exec hello&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;Appel de procedure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;Procédure PL/SQL terminée avec succés.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;vous pouvez consulter la vue user_source pour voire le code source converti de la procedure,c&#39;est la meme chose que vous trouverez dans le fichier plb.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; col name format a10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; set pagesize 1000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; col text format a30&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; set linesize 1000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; &gt;SQL&gt; select NAME,TYPE,TEXT from user_source where NAME=&#39;HELLO&#39;;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  &lt;table str=&quot;&quot;  style=&quot;border-collapse: collapse; width: 305pt; font-style: italic; color: rgb(204, 102, 0);font-family:verdana;&quot; width=&quot;406&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;col style=&quot;width: 60pt;&quot; width=&quot;80&quot;&gt;  &lt;col style=&quot;width: 75pt;&quot; width=&quot;100&quot;&gt;  &lt;col style=&quot;width: 170pt;&quot; width=&quot;226&quot;&gt;  &lt;tbody&gt;&lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt; width: 60pt;&quot; width=&quot;80&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;NAME&lt;/span&gt;&lt;/td&gt;   &lt;td style=&quot;width: 75pt;&quot; width=&quot;100&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;TYPE&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; style=&quot;width: 170pt;&quot; width=&quot;226&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;TEXT&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;HELLO&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;PROCEDURE&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;procedure hello wrapped&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;abcd&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;9200000&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;9200000&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;2 :e:&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1HELLO:&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1DBMS_OUTPUT:&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1PUT_LINE:&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1Appel de procedure:&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;14&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0 9a b4 55 6a :2 a0 6b 6e&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;a5 57 b7 a4 b1 11 68 4f&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1d 17 b5&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;14&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0 3 17 18 1c 20 24 28&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;2b 30 31 36 38 3c 3e 4a&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;4e 50 51 5a&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;14&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0 b 0 :3 1 :2 d 16 :b 1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;14&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0 1 0 :2 1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;:6 3 :2 2 :7 1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;5c&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;:3 0 1 :a 0 f&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1 :8 0 2 :2 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;f 1 3 :2 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;2 :3 0 3 :3 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;5 6 0 4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;:4 0 3 7 9&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;:2 0 b 5 e&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;:3 0 e 0 e&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;d b c :6 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;f :2 0 1 3&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;e 12 :3 0 11&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;f 13 :8 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;:3 0 1 8 1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;a&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;12&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;14&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0 0 0 0 0 0 0 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0 0 0 0 0 0 0 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0 0 0 0&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1 0 1&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;   &lt;td style=&quot;height: 12.75pt;&quot; height=&quot;17&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl24&quot; num=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;0&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://notetechs.blogspot.com/feeds/2547511010216231260/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7178620400987993218/2547511010216231260' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/2547511010216231260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7178620400987993218/posts/default/2547511010216231260'/><link rel='alternate' type='text/html' href='http://notetechs.blogspot.com/2010/01/oracle-warp.html' title='Oracle : WRAP obsfucation PL/SQL'/><author><name>AGM</name><uri>http://www.blogger.com/profile/06341683895175456506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>