Inconsistent custom SQL Grid render
Posted: Tue Aug 04, 2020 2:12 pm
Has anyone encountered this problem recently?
When attempting to call a program which uses a custom SQL to build the grid, the grid results will not appear consistently on the first (or subsequent) request to build the grid. However, once the request to build actual returns and builds the grid, the grid will consistently build on any subsequent request. That might be after the 1st, 2nd, 3rd, etc. attempt to build the grid.
I have noticed recently that the rendering of custom sqls have been lagging (very slow build), along with the filtering/sorting of those columns. However, once a grid's column has been sorted once, the sorting and response time to render has been reduced and is speedier.
Please note that the sql that I am using does not use any CTE and runs successfully in the RDi SQL editor. That same exact sql also executes (eventually) within Profound, it just seem to take multiple requests to get the grid to appear. The query that is run also does not change throughout the program. (I know that by putting the program in debug and pausing right before executing the EXFMT to view the grid's custom sql statement and the query statement.) That statement always seems to run in an SQL editor, but not always when executing the EXFMT statement.
Any thoughts?
When attempting to call a program which uses a custom SQL to build the grid, the grid results will not appear consistently on the first (or subsequent) request to build the grid. However, once the request to build actual returns and builds the grid, the grid will consistently build on any subsequent request. That might be after the 1st, 2nd, 3rd, etc. attempt to build the grid.
I have noticed recently that the rendering of custom sqls have been lagging (very slow build), along with the filtering/sorting of those columns. However, once a grid's column has been sorted once, the sorting and response time to render has been reduced and is speedier.
Please note that the sql that I am using does not use any CTE and runs successfully in the RDi SQL editor. That same exact sql also executes (eventually) within Profound, it just seem to take multiple requests to get the grid to appear. The query that is run also does not change throughout the program. (I know that by putting the program in debug and pausing right before executing the EXFMT to view the grid's custom sql statement and the query statement.) That statement always seems to run in an SQL editor, but not always when executing the EXFMT statement.
Any thoughts?