
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://w.cidesa.com.ve/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
		<id>http://w.cidesa.com.ve/index.php?action=history&amp;feed=atom&amp;title=Querys_Utilitarios</id>
		<title>Querys Utilitarios - Historial de revisiones</title>
		<link rel="self" type="application/atom+xml" href="http://w.cidesa.com.ve/index.php?action=history&amp;feed=atom&amp;title=Querys_Utilitarios"/>
		<link rel="alternate" type="text/html" href="http://w.cidesa.com.ve/index.php?title=Querys_Utilitarios&amp;action=history"/>
		<updated>2026-07-27T05:11:45Z</updated>
		<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
		<generator>MediaWiki 1.16.2</generator>

	<entry>
		<id>http://w.cidesa.com.ve/index.php?title=Querys_Utilitarios&amp;diff=1580&amp;oldid=prev</id>
		<title>Lhernandez en 20:23 3 abr 2008</title>
		<link rel="alternate" type="text/html" href="http://w.cidesa.com.ve/index.php?title=Querys_Utilitarios&amp;diff=1580&amp;oldid=prev"/>
				<updated>2008-04-03T20:23:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Revisión anterior&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revisión de 20:23 3 abr 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 316:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 316:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;where&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;where&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;	b.numcue is null;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;	b.numcue is null;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''Cheques sin movimiento en libro'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;select distinct a.numche, a.fecemi, a.tipdoc&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;from &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;	tscheemi a left outer join tsmovlib b on trim(a.numche)=trim(b.reflib) and trim(a.numcue)=trim(b.numcue)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;where&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;	b.reflib is null&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;order by&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;	a.fecemi;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lhernandez</name></author>	</entry>

	<entry>
		<id>http://w.cidesa.com.ve/index.php?title=Querys_Utilitarios&amp;diff=1579&amp;oldid=prev</id>
		<title>Lhernandez en 20:10 3 abr 2008</title>
		<link rel="alternate" type="text/html" href="http://w.cidesa.com.ve/index.php?title=Querys_Utilitarios&amp;diff=1579&amp;oldid=prev"/>
				<updated>2008-04-03T20:10:55Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Revisión anterior&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revisión de 20:10 3 abr 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== '''QUERYS''' ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== '''QUERYS''' ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== SQLs para Oracle ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''CODIGOS PRESUPUESTARIOS EN CPASIINI QUE NO ESTAN EN CPDEFTIT'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''CODIGOS PRESUPUESTARIOS EN CPASIINI QUE NO ESTAN EN CPDEFTIT'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 289:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 290:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SELECT CODPRE,COUNT(CODPRE) PERIODOS FROM CPASIINI HAVING COUNT(CODPRE)&amp;lt;&amp;gt;13 GROUP BY CODPRE&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SELECT CODPRE,COUNT(CODPRE) PERIODOS FROM CPASIINI HAVING COUNT(CODPRE)&amp;lt;&amp;gt;13 GROUP BY CODPRE&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== SQLs Estandar ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''Cheques sin beneficiario en OPBENEFI'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;select distinct a.numche, a.cedrif&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;from &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;	tscheemi a left outer join opbenefi b on trim(a.cedrif)=trim(b.cedrif)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;where&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;	b.cedrif is null;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''Cheques sin cuentas bancarias en TSDEFBAN'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;select distinct a.numche, a.fecemi&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;from &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;	tscheemi a left outer join tsdefban b on trim(a.numcue)=trim(b.numcue)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;where&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;	b.numcue is null;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lhernandez</name></author>	</entry>

	<entry>
		<id>http://w.cidesa.com.ve/index.php?title=Querys_Utilitarios&amp;diff=979&amp;oldid=prev</id>
		<title>Luisana: New page:  == '''QUERYS''' ==     '''CODIGOS PRESUPUESTARIOS EN CPASIINI QUE NO ESTAN EN CPDEFTIT''' 	 Select A.* From  CPDefTit B, CPAsiIni A Where A.Codpre=B.Codpre(+) and B.Codpre is Null  ----  ...</title>
		<link rel="alternate" type="text/html" href="http://w.cidesa.com.ve/index.php?title=Querys_Utilitarios&amp;diff=979&amp;oldid=prev"/>
				<updated>2007-07-26T17:44:28Z</updated>
		
		<summary type="html">&lt;p&gt;New page:  == &amp;#39;&amp;#39;&amp;#39;QUERYS&amp;#39;&amp;#39;&amp;#39; ==     &amp;#39;&amp;#39;&amp;#39;CODIGOS PRESUPUESTARIOS EN CPASIINI QUE NO ESTAN EN CPDEFTIT&amp;#39;&amp;#39;&amp;#39; 	 Select A.* From  CPDefTit B, CPAsiIni A Where A.Codpre=B.Codpre(+) and B.Codpre is Null  ----  ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== '''QUERYS''' ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPASIINI QUE NO ESTAN EN CPDEFTIT'''&lt;br /&gt;
	&lt;br /&gt;
Select A.* From  CPDefTit B, CPAsiIni A Where A.Codpre=B.Codpre(+) and B.Codpre is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS QUE ESTAN EN CPIMPPRC QUE NO ESTAN EN CPDEFTIT	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPDefTit B, CPImpPrc A Where A.Codpre=B.Codpre(+) and B.Codpre is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS QUE ESTAN EN CPIMPCOM QUE NO ESTAN EN CPDEFTIT	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPDefTit B, CPImpCom A Where A.Codpre=B.Codpre(+) and B.Codpre is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS QUE ESTAN EN CPIMPCAU QUE NO ESTAN EN CPDEFTIT	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPDefTit B, CPImpCau A Where A.Codpre=B.Codpre(+) and B.Codpre is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS QUE ESTAN EN CPIMPPAG QUE NO ESTAN EN CPDEFTIT	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPDefTit B, CPImpPag A Where A.Codpre=B.Codpre(+) and B.Codpre is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS QUE ESTAN EN CPMOVAJU QUE NO ESTAN EN CPDEFTIT	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPDefTit B, CPMovAju A Where A.Codpre=B.Codpre(+) and B.Codpre is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES PRECOMPROMISOS SIN PADRES	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPPreCom B, CPImpPrc A Where A.Refprc=B.Refprc(+) and B.Refprc is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''PRECOMPROMISOS SIN DETALLES'''	&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPPreCom A, CPImpPrc B Where A.Refprc=B.Refprc(+) and B.Refprc is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''IMPUTACIONES COMPROMISOS SIN PADRES'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPCompro B, CPImpCom A Where A.Refcom=B.Refcom(+) and B.Refcom is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''COMPROMISOS SIN DETALLES'''	&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPCompro A, CPImpCom B Where A.Refcom=B.Refcom(+) and B.Refcom is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES CAUSADOS SIN PADRES'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPCausad B, CPImpCau A Where A.Refcau=B.Refcau(+) and B.Refcau is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CAUSADOS SIN DETALLES	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPCausad A, CPImpCau B Where A.Refcau=B.Refcau(+) and B.Refcau is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES DE PAGADOS SIN PADRES'''	&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPPagos B, CPImpPag A Where A.Refpag=B.Refpag(+) and B.RefPag is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''PAGADOS SIN DETALLE'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPPagos A, CPImpPag B Where A.Refpag=B.Refpag(+) and B.RefPag is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''MOVIMIENTOS DE AJUSTES SIN PADRES'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPAjuste B, CPMovAJu A Where A.Refaju=B.Refaju(+) and B.Refaju is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''AJUSTES SIN MOVIMIENTOS	'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPAjuste A, CPMovAJu B Where A.Refaju=B.Refaju(+) and B.Refaju is Null&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES DE COMPROMISOS QUE REFIEREN A PRECOMPROMISOS QUE NO EXISTEN (REFERE)'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPPreCom B, CPImpCom A Where A.refere=B.Refprc(+) and B.Refprc is Null and A.Refere&amp;lt;&amp;gt;'NULO'&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES DE CAUSADOS QUE HACEN REFERENCIA ACOMPROMISOS QUE NO EXISTEN'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPCompro B, CPImpCau A Where A.refere=B.Refcom(+) and B.Refcom is Null and A.Refere&amp;lt;&amp;gt;'NULO'&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''IMPUTACIONES DE CAUSADOS QUE HACEN REFERENCIA A PRECOMPROMISOS QUE NO EXISTEN'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPPreCom B, CPImpCau A Where A.Refprc=B.Refprc(+) and B.Refprc is Null and A.RefPrc&amp;lt;&amp;gt;'NULO'&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES DE PAGADOS QUE HACEN REFERENCIA A CAUSADOS QUE NO EXISTEN'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPCausad B, CPImpPag A Where A.refere=B.Refcau(+) and B.Refcau is Null and A.Refere&amp;lt;&amp;gt;'NULO'&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES DE PAGADOS QUE REFIEREN A COMPROMISOS QUE NO EXISTEN'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPCompro B, CPImpPag A Where A.refcom=B.Refcom(+) and B.Refcom is Null and A.Refcom&amp;lt;&amp;gt;'NULO'&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''IMPUTACIONES DE PAGADOS  QUE REFIEREN A PRECOMPROMISOS QUE NO EXISTEN'''&lt;br /&gt;
&lt;br /&gt;
Select A.* From  CPPreCom B, CPImpPag A Where A.refprc=B.Refprc(+) and B.Refprc is Null and A.Refprc&amp;lt;&amp;gt;'NULO'&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPDEFTIT CON LONGITUD &amp;lt;&amp;gt;32'''&lt;br /&gt;
&lt;br /&gt;
Select * From CPDefTit where Length(Codpre)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPASIINI CON LONGITUD &amp;lt;&amp;gt;32 '''&lt;br /&gt;
&lt;br /&gt;
Select * From CPAsiIni where Length(Codpre)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPIMPPRC CON LONGITUD &amp;lt;&amp;gt;32 '''&lt;br /&gt;
&lt;br /&gt;
Select * From CPImpPrc where Length(Codpre)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPIMPCOM CON LONGITUD &amp;lt;&amp;gt;32 '''&lt;br /&gt;
&lt;br /&gt;
Select * From CPImpCom where Length(Codpre)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPIMPCAU CON LONGITUD &amp;lt;&amp;gt;32 '''&lt;br /&gt;
&lt;br /&gt;
Select * From CPImpCau where Length(Codpre)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPIMPPAG CON LONGITUD &amp;lt;&amp;gt;32'''	&lt;br /&gt;
&lt;br /&gt;
Select * From CPImpPag where Length(Codpre)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CODIGOS PRESUPUESTARIOS EN CPMOVAJU CON LONGITUD &amp;lt;&amp;gt;32'''	&lt;br /&gt;
&lt;br /&gt;
Select * From CPMovAju where Length(Codpre)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CAUSADOS CON SALDO PAGADO MAYOR AL CAUSADO'''&lt;br /&gt;
	&lt;br /&gt;
Select * From CPIMPCAU where MONPAG&amp;gt;MonIMP&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''COMPROMISOS CON SALDO CAUSADO MAYOR AL COMPROMETIDO'''&lt;br /&gt;
	&lt;br /&gt;
SELECT * FROM CPIMPCOM  WHERE MONCAU&amp;gt;MONIMP&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''COMPROMISOS CON SALDO PAGADO MAYOR AL COMPROMETIDO'''&lt;br /&gt;
	&lt;br /&gt;
SELECT * FROM CPIMPCOM  WHERE MONPAG&amp;gt;MONIMP&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''COMPROMISOS CON SALDO PAGADO MAYOR AL CAUSADO	'''&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CPIMPCOM  WHERE MONPAG&amp;gt;MONIMP&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''PRECOMPROMISOS CON FECHAS DE ANULACION FUERA DEL PERIODO'''&lt;br /&gt;
	&lt;br /&gt;
SELECT * FROM CPPRECOM WHERE TO_CHAR(FECANU,'YYYY')&amp;lt;&amp;gt;(SELECT TO_CHAR(FECINI,'YYYY') FROM CONTABA)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''COMPROMISOS CON ANULACIONES FUERA DEL PERIODO'''	&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CPCOMPRO WHERE TO_CHAR(FECANU,'YYYY')&amp;lt;&amp;gt;(SELECT TO_CHAR(FECINI,'YYYY') FROM CONTABA)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''CAUSADOS CON ANULACIONES FUERA DEL PERIODO	'''&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CPCAUSAD WHERE TO_CHAR(FECANU,'YYYY')&amp;lt;&amp;gt;(SELECT TO_CHAR(FECINI,'YYYY') FROM CONTABA)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''PAGADOS CON ANULACIONES FUERA DEL PERIODO'''	&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CPPAGOS WHERE TO_CHAR(FECANU,'YYYY')&amp;lt;&amp;gt;(SELECT TO_CHAR(FECINI,'YYYY') FROM CONTABA)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''AJUSTES CON ANULACIONES FUERA DEL PERIODO	'''&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CPAJUSTE WHERE TO_CHAR(FECANU,'YYYY')&amp;lt;&amp;gt;(SELECT TO_CHAR(FECINI,'YYYY') FROM CONTABA)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''ORDENES DE PAGO SIN COMPROBANTE	'''&lt;br /&gt;
&lt;br /&gt;
SELECT A.* FROM OPORDPAG A, CONTABC B WHERE A.NUMCOM=B.NUMCOM(+) AND B.NUMCOM IS NULL AND  (A.TIPCAU&amp;lt;&amp;gt;'O/PE')&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''MOVIMIENTOS EN LIBROS SIN COMPROBANTES 	'''&lt;br /&gt;
&lt;br /&gt;
SELECT A.* FROM TSMOVLIB A, CONTABC B,CONTABA C WHERE A.NUMCOM=B.NUMCOM(+) AND B.NUMCOM IS NULL AND A.FECLIB&amp;gt;=C.FECINI&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''COMPROBANTES SIN DETALLES (HIJOS EN CONTABC1)'''&lt;br /&gt;
&lt;br /&gt;
SELECT A.* FROM CONTABC A,CONTABC1 B WHERE A.NUMCOM=B.NUMCOM(+) AND B.NUMCOM IS NULL&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''REGISTROS EN CONTABC1 SIN PADRES	'''&lt;br /&gt;
&lt;br /&gt;
SELECT A.* FROM CONTABC B,CONTABC1 A WHERE A.NUMCOM=B.NUMCOM(+) AND B.NUMCOM IS NULL&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''VERIFICAR LONGITUD DE LAS CUENTAS EN CONTABB	'''&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CONTABB WHERE LENGTH(CODCTA)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''VERIFICAR LONGITUD DE CUENTAS DE CONTABB1 '''&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CONTABB1 WHERE LENGTH(CODCTA)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''VERIFICAR LOS 12 PERIDOS EN CONTABB1'''	&lt;br /&gt;
&lt;br /&gt;
SELECT CODCTA,COUNT(CODCTA) PERIODOS FROM CONTABB1 HAVING COUNT(CODCTA)&amp;lt;&amp;gt;12 GROUP BY CODCTA&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''COMPROBANTES CON CUENTAS NO EXISTENTES EN CONTABB'''	&lt;br /&gt;
&lt;br /&gt;
SELECT A.* FROM CONTABC1 A,CONTABB B WHERE A.CODCTA=B.CODCTA(+) AND B.CODCTA IS NULL&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''VERIFICAR LONGITUD DE CUENTAS EN CONTABC1'''	&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM CONTABC1 WHERE LENGTH(CODCTA)&amp;lt;&amp;gt;32&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''COMPROBANTES CON CUENTAS NO CARGABLES	'''&lt;br /&gt;
&lt;br /&gt;
SELECT A.* FROM CONTABC1 A,CONTABB B WHERE A.CODCTA=B.CODCTA AND B.CARGAB='N'&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''VERIFICAR LOS 13 PERIODOS DE CPASIINI'''	&lt;br /&gt;
&lt;br /&gt;
SELECT CODPRE,COUNT(CODPRE) PERIODOS FROM CPASIINI HAVING COUNT(CODPRE)&amp;lt;&amp;gt;13 GROUP BY CODPRE&lt;/div&gt;</summary>
		<author><name>Luisana</name></author>	</entry>

	</feed>