Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

What's wrong with this SQ Query?

$
0
0

When I run it it appears to hang the server... I am waiting the result since more than 2 hours

 

Select top 10

T0.CardName as "Nombre Cliente",

T0.LicTradNum as "RUT",

T0.DocNum as "Numero Fact.",

T0.PaidToDate as "Anticipo", 

T0.DocDate as "Fecha Emision",

T0.doctotal as "Monto Factura Original",

T3.DocNum as "No. Nota Credito",

T3.DocTotal as "Monto NC",

T0.PaidSum as "Monto Final Factura",

T4.SlpName as "Nombre Vendedor",

T5.firstName as "Nombre Originador",

T5.lastName as "Apellido Originador"

 

From OINV T0, OCRD T1, ORIN T3, OSLP T4, OHEM T5

 

Order by T0.DocDate desc


Viewing all articles
Browse latest Browse all 8667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>