สอบถามเรื่องการใช้ SELECT TOP ใช้แล้วมันติด Error ครับ Code (PHP)
$strSQL .="SELECT TOP 15 * FROM province order by PROVINCE_CODE ASC $Page_Start , $Per_Page";
Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax near '0'. (severity 15) in C:\AppServ\www\AjaxPHPSearchRecordPaging2.php on line 41
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\AjaxPHPSearchRecordPaging2.php on line 41
Error Query [SELECT * FROM province WHERE PROVINCE_NAME LIKE '%%' SELECT TOP 15 * FROM province order by PROVINCE_CODE ASC 0 , 15]