rameshfaj Posted June 3, 2008 Share Posted June 3, 2008 Can I use theĀ dynamic value for the limit. Ex: select name from my_table Limit(Select count(id) from my_table). Quote Link to comment Share on other sites More sharing options...
fenway Posted June 3, 2008 Share Posted June 3, 2008 No... you'll have to do it in 2 queries. Quote Link to comment Share on other sites More sharing options...
rameshfaj Posted June 4, 2008 Author Share Posted June 4, 2008 Thanks using two queries can be done easily,but I was searching if one query can be used. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.