Quantcast
Viewing all articles
Browse latest Browse all 82152

MSSQL server-side processing example?

Hi, I think I'm very close to having a working example with SQL Server Express, but there are a few things I cannot seem to accomplish.

For one, SQL_CALC_FOUND_ROWS is not an option in MSSQL and neither is FOUND_ROWS().

I've tried changing those both to @@ROWCOUNT as that is the only alternative I have been able to find.
Right now my JSON is returning this:

{"sEcho":0,"iTotalRecords":2998,"iTotalDisplayRecords":2998,"aaData":[[0,null,null,null],[0,null,null,null],[0,null,null,null],[0,null,null,null],[0,null,null,null],

with [0,null,null,null] repeating almost 3k times.

Thanks for any help.

Viewing all articles
Browse latest Browse all 82152

Trending Articles