Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter JQXWIDGETS
#5

Hi,


Thank you for your suggestions, it makes me see what I might be doing wrong. Smile


The problem is on my SQL query. It is not getting all the results. It just gets the results with the limit and offset applied.

Here is my new query. Hope it helps someone:


Code:
SELECT
 CustCode as customerCode,
 CustNm as customerName,
 overall_count = COUNT(*) OVER()
FROM BigEMasterData.dbo.tbl_Customers
ORDER BY CustCode
 OFFSET @PageNum ROWS
 FETCH NEXT @PageSize ROWS ONLY;
Reply


Messages In This Thread
CodeIgniter JQXWIDGETS - by danangeloalcanar - 01-20-2018, 05:22 AM
RE: CodeIgniter JQXWIDGETS - by jreklund - 01-20-2018, 06:40 AM
RE: CodeIgniter JQXWIDGETS - by danangeloalcanar - 01-20-2018, 07:43 AM
RE: CodeIgniter JQXWIDGETS - by dave friend - 01-20-2018, 08:49 AM
RE: CodeIgniter JQXWIDGETS - by danangeloalcanar - 01-20-2018, 10:31 AM
RE: CodeIgniter JQXWIDGETS - by axelkefas - 08-20-2018, 05:26 AM
RE: CodeIgniter JQXWIDGETS - by php_rocs - 08-20-2018, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB