Nov 7, 2007 #1 dbero Technical User Joined Mar 31, 2005 Messages 109 Location US I am unable to get the WHERE ROWNUM<=10 criteria to work. SELECT QRYMaster.Status, QRYMaster.Region FROM QRYMaster WHERE ROWNUM<=10; Can someone identify the problem? Thank you
I am unable to get the WHERE ROWNUM<=10 criteria to work. SELECT QRYMaster.Status, QRYMaster.Region FROM QRYMaster WHERE ROWNUM<=10; Can someone identify the problem? Thank you
Nov 7, 2007 1 #2 lameid Programmer Joined Jan 31, 2001 Messages 4,212 Location US An error message would help. Is ROWNUM in the output for QRYMaster? Is ROWNUM a number? Or are you trying something from SQL from another language and you want the top 10 rows? Code: SELECT TOP 10 QRYMaster.Status, QRYMaster.Region FROM QRYMaster Upvote 0 Downvote
An error message would help. Is ROWNUM in the output for QRYMaster? Is ROWNUM a number? Or are you trying something from SQL from another language and you want the top 10 rows? Code: SELECT TOP 10 QRYMaster.Status, QRYMaster.Region FROM QRYMaster