I have the following Query that returns approximately 8,000,000 records. It takes 8 seconds to run and 3 minutes to display on the grid.
SELECT H.Empresa, H.Empleado, H.Periodo, H.Liquidacion, H.NroCorrLiquidacion, H.Concepto, H.NroCorrConcepto, H.Devengamiento, H.Unitario, H.Importe, H.Porcentaje, H.Cantidad, H.Convenio,H.Agrupamiento, H.CCostoNivelUno, H.CCostoNivelDos, H.CCostoNivelTres, H.CCostoNivelCuatro, H.CCostoNivelCinco
FROM LqEmpleadosActivos LQ INNER JOIN HiDetalle H ON LQ.Empresa = H.Empresa and LQ.Empleado = H.Empleado
WHERE LQ.Trabajaactualmente='S'
Is there a way to make the information display faster in the grid?
I have tried using AdsQuery and FDQuery and the result is the same.
Thanks