Quantcast
Viewing all articles
Browse latest Browse all 3509

Limit Rows

Hi,

I used Visual Studio Web query builder. I am trying to figure out how to limit the rows of this result. I have tried

TOP 1
LIMIT 1;
ROWNUM <= 1;

Unless I am putting them I the wrong location. Below is the query. Please help

 

SELECT LIMIT 5 Testserver1_FPDPORTL.SERIAL_INDEX.SER_NUM, Testserver1_FPDPORTL.JOB.JOB, Testserver1_FPDPORTL.PO.PO_NUM, Testserver1_FPDPORTL.PO.PO_COST, Testserver1_FPDPORTL.CO.CUST_PO, Testserver1_FPDPORTL.NOTES.TXT FROM Testserver1_FPDPORTL.SERIAL_INDEX, Testserver1_FPDPORTL.JOB, Testserver1_FPDPORTL.PO, Testserver1_FPDPORTL.CO, Testserver1_FPDPORTL.NOTES WHERE  Testserver1_FPDPORTL.SERIAL_INDEX.JOB = Testserver1_FPDPORTL.JOB.JOB AND Testserver1_FPDPORTL.JOB.&quot;KEY&quot; = Testserver1_FPDPORTL.PO.&quot;KEY&quot; AND Testserver1_FPDPORTL.SERIAL_INDEX.CO_NUM = Testserver1_FPDPORTL.CO.CO_NUM AND Testserver1_FPDPORTL.CO.&quot;KEY&quot; = Testserver1_FPDPORTL.NOTES.&quot;KEY&quot; AND (Testserver1_FPDPORTL.SERIAL_INDEX.SER_NUM LIKE ?)


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>