<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Probando Código &#187; PL/SQL</title>
	<atom:link href="http://www.probandocodigo.com/category/plsql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.probandocodigo.com</link>
	<description></description>
	<lastBuildDate>Sun, 27 Feb 2011 15:39:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>¿Como llamar a una función PL/SQL desde java?</title>
		<link>http://www.probandocodigo.com/2009/03/como-llamar-a-una-funcin-plsql-desde-java.html</link>
		<comments>http://www.probandocodigo.com/2009/03/como-llamar-a-una-funcin-plsql-desde-java.html#comments</comments>
		<pubDate>Sat, 14 Mar 2009 05:30:00 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2009/03/como-llamar-a-una-funcin-plsql-desde-java.html</guid>
		<description><![CDATA[&#160; Aquí les dejo la función para que puedan ocuparla. 1: //Recibe como parámetro un String y retorna un String 2: &#160; 3: private String ExtraerFuncion(String usercode) throws SQLException, Exception, Error{ 4: &#160; 5: String sql = &#34;&#34;, dato=&#34;&#34;; 6: sql = &#34;{? = call FN_RETURN_FUNCION(?)}&#34;; 7: CallableStatement cs = null; 8: &#160; 9: try [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Aquí les dejo la función para que puedan ocuparla.</p>
<div class="csharpcode">
<pre><span class="lnum">   1:  </span><span class="rem">//Recibe como parámetro un String y retorna un String</span></pre>
<pre><span class="lnum">   2:  </span>&#160;</pre>
<pre><span class="lnum">   3:  </span>      <span class="kwrd">private</span> String ExtraerFuncion(String usercode) throws SQLException, Exception, Error{</pre>
<pre><span class="lnum">   4:  </span>&#160;</pre>
<pre><span class="lnum">   5:  </span>            String sql = <span class="str">&quot;&quot;</span>, dato=<span class="str">&quot;&quot;</span>;           </pre>
<pre><span class="lnum">   6:  </span>            sql = <span class="str">&quot;{? = call FN_RETURN_FUNCION(?)}&quot;</span>;           </pre>
<pre><span class="lnum">   7:  </span>            CallableStatement cs = <span class="kwrd">null</span>;</pre>
<pre><span class="lnum">   8:  </span>&#160;</pre>
<pre><span class="lnum">   9:  </span>            <span class="kwrd">try</span></pre>
<pre><span class="lnum">  10:  </span>            {</pre>
<pre><span class="lnum">  11:  </span>                cs = sessionManager.getConnection().prepareCall(sql);</pre>
<pre><span class="lnum">  12:  </span>                cs.registerOutParameter(1, Types.VARCHAR);</pre>
<pre><span class="lnum">  13:  </span>                cs.setString(2, usercode);</pre>
<pre><span class="lnum">  14:  </span>                cs.execute();</pre>
<pre><span class="lnum">  15:  </span>                dato = cs.getString(1);</pre>
<pre><span class="lnum">  16:  </span>            }</pre>
<pre><span class="lnum">  17:  </span>            <span class="kwrd">catch</span> (Exception e)</pre>
<pre><span class="lnum">  18:  </span>            {</pre>
<pre><span class="lnum">  19:  </span>                e.printStackTrace();</pre>
<pre><span class="lnum">  20:  </span>            }</pre>
<pre><span class="lnum">  21:  </span>            <span class="kwrd">finally</span></pre>
<pre><span class="lnum">  22:  </span>            {</pre>
<pre><span class="lnum">  23:  </span>                 cs.close();</pre>
<pre><span class="lnum">  24:  </span>            }</pre>
<pre><span class="lnum">  25:  </span>            <span class="kwrd">return</span> dato;</pre>
<pre><span class="lnum">  26:  </span>        }</pre>
</div>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2009/03/como-llamar-a-una-funcin-plsql-desde-java.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Aprendiendo Oracle Forms</title>
		<link>http://www.probandocodigo.com/2009/02/aprendiendo-oracle-forms.html</link>
		<comments>http://www.probandocodigo.com/2009/02/aprendiendo-oracle-forms.html#comments</comments>
		<pubDate>Tue, 24 Feb 2009 03:54:00 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[Varios]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Forms]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2009/02/aprendiendo-oracle-forms.html</guid>
		<description><![CDATA[&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Antes que todo me disculpo ante los lectores que me leen pero debido al trabajo y el estudio he estado un poco alejado del blog, hay muchas cosas que he tenido que aprender entre ellas cosas buenas e interesantes y otras malas y aburridas. Entre las que no me gustan debo mencionar Oracle [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://www.probandocodigo.com/wp-content/uploads/2009/02/oracle.jpg"><img title="ORACLE" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="164" alt="ORACLE" src="http://www.probandocodigo.com/wp-content/uploads/2009/02/oracle-thumb.jpg" width="244" border="0" /></a>&#160;</p>
<p align="justify">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Antes que todo me disculpo ante los lectores que me leen pero debido al trabajo y el estudio he estado un poco alejado del blog, hay muchas cosas que he tenido que aprender entre ellas cosas buenas e interesantes y otras malas y aburridas.</p>
<p align="justify">Entre las que no me gustan debo mencionar Oracle forms, lo siento bastante aburrido debido a que es bien “anticuado” a mi parecer, pero es relativamente sencillo de aprender a hacer un mantenimiento sencillo… por lo que si alguien necesita aprenderlo les digo que no tengan miedo porque no es tan difícil realizar mantenimientos. Todo es un trigger y cuando se tiene esa idea ya lo demás es facil.</p>
<p align="justify">La versión con la que a veces me toca trabajar es la 6i, es vieja y al compararla con la 10 se podrán dar cuenta que hay muchas diferencias, entre ellas que en la 10 todo puede ser orientado a la web, y se puede meter código java.</p>
<p align="justify">Lo bueno de aprender Oracle Forms, es que si alguna vez trabajan con Oracle Financials podrán customizar cualquier forma sin mayor problema y esto es un valor agregado en Oracle Financials.</p>
<p align="justify">En lo personal lo siento aburrido, se puede hacer cualquier cosa relacionado con pl/sql de forma mucha mas rápida y sencilla que en un lenguaje de programación, sin embargo me gusta más hacerlo desde java o .net debido a que aprendo más cosas a la vez.</p>
<p align="justify">Todo esto pueden practicarlo descargando la base de datos Oracle y las herramientas para desarrollar de Oracle, son gratuitas y tienen todo lo necesario para conocer a fondo Pl/SQL, forms y report.</p>
<p align="justify">En uno o dos días pondré todas las herramientas que nos ofrece Oracle para poder programar sin necesidad de comprar nada, como consejo si se adelantan y tienen un ordenador con bastante capacidad les aconsejo que instalen la base de datos Oracle en una maquina virtual para evitar ensuciar la principal con tantos archivos.</p>
<p>Para los que saben Forms, no estoy diciendo que sea fácil totalmente, hay casos donde si se necesita de un nivel mas avanzado pero esto es ya cuando se desea personalizar.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2009/02/aprendiendo-oracle-forms.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ejemplos De La Funcion Decode En Oracle</title>
		<link>http://www.probandocodigo.com/2008/12/ejemplos-de-la-funcion-decode-en-oracle.html</link>
		<comments>http://www.probandocodigo.com/2008/12/ejemplos-de-la-funcion-decode-en-oracle.html#comments</comments>
		<pubDate>Fri, 26 Dec 2008 01:43:39 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programacion]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2008/12/ejemplos-de-la-funcion-decode-en-oracle.html</guid>
		<description><![CDATA[&#160;&#160;&#160; &#160; A continuacion les muestro unos ejemplos de la funcion decode en Oracle. *Las columnas pueden ser tantos campos estaticos como campos de alguna columna de una tabla. 1 Columna = Valor a evalular 2 Columna = Valor con el que se compara la columna uno 3 Columna = Si el valor de la [...]]]></description>
			<content:encoded><![CDATA[<p align="center">&#160;&#160;&#160; <a href="http://probandocodigo.com/ProbandoCodigo_Images/EjemplosDeLaFuncionDecodeEnOracle_1156F/oracle.gif"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="39" alt="oracle" src="http://probandocodigo.com/ProbandoCodigo_Images/EjemplosDeLaFuncionDecodeEnOracle_1156F/oracle_thumb.gif" width="105" border="0" /></a> </p>
<p align="justify">&#160;</p>
<p align="justify">A continuacion les muestro unos ejemplos de la funcion decode en Oracle.</p>
<p align="justify"><font color="#ff0000">*Las columnas pueden ser tantos campos estaticos como campos de alguna columna de una tabla.</font> </p>
<p align="justify"><strong><em>1 Columna =</em></strong> Valor a evalular    <br /><strong><em>2 Columna =</em></strong> Valor con el que se compara la columna uno    <br /><strong><em>3 Columna =</em></strong> Si el valor de la columna dos es igual al valor de la columna uno entonces se muestra este valor    <br /><strong><em>4 Columna =</em></strong> Si el valor de la columna dos no es igual al valor de la columna uno entonces se muestra este valor </p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> select decode(<span style="color: #006080">'Probando Codigo'</span>, <span style="color: #006080">'Probando Codigo'</span>, <span style="color: #006080">'www.probandocodigo.com'</span>, <span style="color: #006080">'www.whibla.com'</span>) Pagina from dual </pre>
</p></div>
</div>
<p align="justify">Ejemplo con mas condiciones </p>
<p align="justify"><strong><em>1 Columna =</em></strong> Valor a evalular</p>
<p><em><strong>2 Columna =</strong></em> Valor con el que se compara la columna uno</p>
<p><strong><em>3 Columna =</em></strong> Si el valor de la columna dos es igual al valor de la columna uno entonces se muestra este valor</p>
<p><strong><em>4 Columna =</em></strong> Valor con el se compara la columna 1</p>
<p><em><strong>5 Columna =</strong></em> Si la la columna 1 es igual a la columna 4 entonces se muestra este valor</p>
<p><strong><em>6 Columna =</em></strong> Valor si no se cumplio la condicion de la columna 1 = columna 2 o la columna1 = Columna 4 </p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> select decode(<span style="color: #006080">'Blog'</span>, <span style="color: #006080">'Blog'</span>, <span style="color: #006080">'www.probandocodigo.com'</span>, <span style="color: #006080">'Foro'</span>,<span style="color: #006080">'www.whibla.com'</span>,<span style="color: #006080">'Pagina Default'</span>) Pagina from dual </pre>
</p></div>
</div>
<p align="justify">Como pueden observar, el decode seria muy similar a lo que es el Switch en java o el Case en .Net, una funcion muy importante<br />
  <br />y que nos sacara de distintos problemas en distintas etapas en nuestra vida de programador. </p>
<p align="justify">Ya en casos donde se requieran mas alternativas entonces se debe usar el Case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2008/12/ejemplos-de-la-funcion-decode-en-oracle.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Crear Job En Oracle</title>
		<link>http://www.probandocodigo.com/2008/12/crear-job-en-oracle.html</link>
		<comments>http://www.probandocodigo.com/2008/12/crear-job-en-oracle.html#comments</comments>
		<pubDate>Fri, 26 Dec 2008 01:37:13 +0000</pubDate>
		<dc:creator>Benjamín Zepeda</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[Job en Oracle]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.probandocodigo.com/2008/12/crear-job-en-oracle.html</guid>
		<description><![CDATA[&#160; &#160;&#160;&#160;&#160;&#160;&#160; Un job es lo equivalente a una tarea programada en Windows (es el porque de la imagen de arriba&#8230;), donde nosotros programamos cada cuando tiempo se debe hacer por ejemplo una desfragmentaicon del disco, o incluso podemos especificar que dias y a que hora realizarlo, tambien es similar a la ejecucion automatica de [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://probandocodigo.com/ProbandoCodigo_Images/CrearJobEnOracle_113E6/AutomaticWindingDsc00037.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="235" alt="AutomaticWindingDsc00037" src="http://probandocodigo.com/ProbandoCodigo_Images/CrearJobEnOracle_113E6/AutomaticWindingDsc00037_thumb.jpg" width="305" border="0" /></a> </p>
<p align="justify">&#160;</p>
<p align="justify">&#160;&#160;&#160;&#160;&#160;&#160; Un job es lo equivalente a una tarea programada en Windows (es el porque de la imagen de arriba&#8230;), donde nosotros programamos cada cuando tiempo se debe    <br />hacer por ejemplo una desfragmentaicon del disco, o incluso podemos especificar que dias y a que hora realizarlo,     <br />tambien es similar a la ejecucion automatica de los backup de la base de datos. </p>
<p align="justify">A continuacion el query para crear un job en oracle. </p>
<p align="justify"><strong>What </strong>= El nombre del procedimiento almacenado a ejecutar.     <br /><strong>nex_date</strong> = la fecha y hora en el cual se debe ejecutar el job por primera vez.     <br /><strong>intervalo</strong> = si pueden observar en el query, el intervalo es la fecha de la ejecucion mas 7 dias.</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 98.41%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; height: 251px; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> DECLARE</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span>   X NUMBER;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   3:</span> BEGIN</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>   SYS.DBMS_JOB.SUBMIT</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   5:</span>     (</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>       job        =&gt; X</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   7:</span>      ,what       =&gt; <span style="color: #006080">'ESQUEMA.PROCEDIMIENTO_PROBANDO_CODIGO;'</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>      ,next_date  =&gt; to_date(<span style="color: #006080">'11/19/2008 08:49:08'</span>,<span style="color: #006080">'mm/dd/yyyy hh24:mi:ss'</span>)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   9:</span>      ,interval   =&gt; <span style="color: #006080">'TRUNC(SYSDATE+7)'</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>      ,no_parse   =&gt; FALSE</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  11:</span>     );</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span> :JobNumber := to_char(X);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">  13:</span> END; </pre>
</p></div>
</div>
<p align="justify">Si el intervalo es cada 30 minutor seria </p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; height: 28px; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> interval    =&gt; SYSDATE+30/1440 </pre>
</p></div>
</div>
<p align="justify">Si el intervalo es cada domingo seria </p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 73.52%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; height: 30px; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> interval    =&gt; NEXT_DAY(TRUNC(SYSDATE), <span style="color: #006080">'SUNDAY'</span>) </pre>
</p></div>
</div>
<p align="justify">Si el intervalo es el primero de cada mes seria </p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; height: 30px; background-color: #f4f4f4">
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; height: 29px; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060">   1:</span> interval    =&gt; TRUNC(LAST_DAY(SYSDATE)) + 1 </pre>
</p></div>
</div>
<p align="justify">y asi sucesivamente. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.probandocodigo.com/2008/12/crear-job-en-oracle.html/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

