I'm confused when first met with the problem of using LIMIT clause in MSSQL. Can't get it how to make the pagination script work.
I want to use LIMIT clause with extra WHERE and ORDERY BY conditions. Any help is welcome!
This is my MySQL query:
$query = mysql_query("SELECT FLD_NAME, FLD_AGE FROM TBL_USERS WHERE FLAG='1' ORDER BY FLD_AGE DESC LIMIT 0,50");
//rows_per_page = 50;
How can I convert this MySQL query to the MSSQL query?
Thanks in advance!