{"id":167,"date":"2013-03-11T12:36:11","date_gmt":"2013-03-11T11:36:11","guid":{"rendered":"http:\/\/sam-soul.fr\/Info\/?p=167"},"modified":"2013-03-11T12:36:11","modified_gmt":"2013-03-11T11:36:11","slug":"aide-spooler-sqplus-2","status":"publish","type":"post","link":"http:\/\/les-fougs.com\/wordpress\/2013\/03\/11\/aide-spooler-sqplus-2\/","title":{"rendered":"Aide spooler SQPlus"},"content":{"rendered":"<p>Param\u00e8tres pour le spool SQLplus.<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>set tab off<\/td>\n<td>Pas de tabulation :<\/td>\n<\/tr>\n<tr>\n<td>set trims off <\/td>\n<td>pas d&rsquo;espace \u00e0 la fin de la ligne<\/td>\n<\/tr>\n<tr>\n<td>set line 100<\/td>\n<td>longueur de ligne de 100<\/td>\n<\/tr>\n<tr>\n<td>set heading on<\/td>\n<td>affiche les ent\u00eates de colonne<\/td>\n<\/tr>\n<tr>\n<td>set newpage 10<\/td>\n<td>cr\u00e9\u00e9 une nouvelle page toutes les 10 lignes<\/td>\n<\/tr>\n<tr>\n<td>set pagesize 0<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>set feedback off<\/td>\n<td>compte le nombre d&rsquo;enregistrement<\/td>\n<\/tr>\n<tr>\n<td>set colsep &laquo;&nbsp;;&nbsp;&raquo;<\/td>\n<td>s\u00e9parateur de colonne ;<\/td>\n<\/tr>\n<tr>\n<td>set termout off<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>set pause &laquo;&nbsp;tapez RETURN pour continuer &laquo;&nbsp;<\/td>\n<td>attente d&rsquo;une intervention clavier<\/td>\n<\/tr>\n<tr>\n<td>set sqlnumber off<\/td>\n<td>supprime les num\u00e9ros de ligne SQL<\/td>\n<\/tr>\n<tr>\n<td>set sqlprefix off<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre>SET TERM OFF \n-- TERM = ON will display on terminal screen (OFF = show in LOG only)<\/pre>\n<p>SET ECHO ON<br \/>\n&#8212; ECHO = ON will Display the command on screen (+ spool)<br \/>\n&#8212; ECHO = OFF will Display the command on screen but not in spool files.<br \/>\n&#8212; Interactive commands are always echoed to screen\/spool.<\/p>\n<p>SET <a href=\"http:\/\/ora.u440.com\/cadena\/trim.html\">TRIM<\/a>OUT ON<br \/>\n&#8212; <a href=\"http:\/\/ora.u440.com\/cadena\/trim.html\">TRIM<\/a>OUT = ON will remove trailing spaces from output<\/p>\n<p>SET <a href=\"http:\/\/ora.u440.com\/cadena\/trim.html\">TRIM<\/a>SPOOL ON<br \/>\n&#8212; <a href=\"http:\/\/ora.u440.com\/cadena\/trim.html\">TRIM<\/a>SPOOL = ON will remove trailing spaces from spooled output<\/p>\n<p>SET HEADING OFF<br \/>\n&#8212; HEADING = OFF will hide column headings<\/p>\n<p>SET FEEDBACK OFF<br \/>\n&#8212; FEEDBACK = ON will count rows returned<\/p>\n<p>SET PAUSE OFF<br \/>\n&#8212; PAUSE = ON .. press return at end of each page<\/p>\n<p>SET PAGESIZE 0<br \/>\n&#8212; PAGESIZE = height 54 is 11 inches (0 will supress all headings and page brks)<\/p>\n<p>SET LINESIZE 80<br \/>\n&#8212; LINESIZE = width of page (80 is typical)<\/p>\n<p>SET VERIFY OFF<br \/>\n&#8212; VERIFY = ON will show before and after substitution variables<\/p>\n<p>&#8212; Start spooling to a log file<br \/>\nSPOOL C:\\TEMP\\MY_LOG_FILE.LOG<\/p>\n<p>&#8212;<br \/>\n&#8212; The rest of the SQL commands go here<br \/>\n&#8212;<br \/>\n<a href=\"http:\/\/ora.u440.com\/dml\/select.html\">SELECT<\/a> * FROM GLOBAL_NAME;<\/p>\n<p>SPOOL OFF<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Param\u00e8tres pour le spool SQLplus. set tab off Pas de tabulation : set trims off pas d&rsquo;espace \u00e0 la fin de la ligne set line 100 longueur de ligne de 100 set heading on affiche les ent\u00eates de colonne set newpage 10 cr\u00e9\u00e9 une nouvelle page toutes les 10 lignes set pagesize 0 set feedback &hellip; <a href=\"http:\/\/les-fougs.com\/wordpress\/2013\/03\/11\/aide-spooler-sqplus-2\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Aide spooler SQPlus&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[37],"tags":[],"_links":{"self":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts\/167"}],"collection":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":0,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}