Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i pick the records using
SQL
("Select * from TBL_OIP2")
query and it shows the all records and when i use
C#
("Select * from TBL_OIP2 where rownum>101 and rownum<200 ")
then it shows me the empty table. so plz tell me where is the problem?

Thank You in advance.
Posted
Updated 20-Jul-12 0:24am
v2

Have a look at the following webpage. Yoou can find the reason and solution there:
http://blog.lishman.com/2008/03/rownum.html[^]

Good luck!
 
Share this answer
 
Comments
ssd_coolguy 20-Jul-12 5:02am    
my 5! nice blog..
SQL
select S.field1,S.field2 from  (select field1,field2 from table where field1>26 and field1<30  )  S  where S.field1<=27 order by S.field1 asc
* means  group  of  values in your  tables.so inline subquery are not handled it .so  wanted  field only  implemented in inline sun query and  assigned
 
Share this answer
 
i had identified The problem if u display sample set of data from ur table then i can say u more clearly
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900