4 Comments Already.Leaving a comment can give you PR2 back link.

Ajith Said,
January 18th, 2008 @8:53 am  

I think you can use the BETWEEN to fetch values in a range in Oracle and I think your right about the LIMIT thing , I dont think Oracle have that functionality.

January 19th, 2008 @6:32 am  

If i’m not mistaken, the wordpress function that you call to return the recent posts etc.. also accepts a variable that you can use to tell the function how many results you want back. Without messing with the Mysql queries :)

Rakhitha Karunarathne Said,
January 20th, 2008 @6:49 am  

Oracle does not have a LIMIT keyword. But they have a similar feature which can be used to implement same result as LIMIT in an over complicated way.

Its a implicit column called ROWNUM which is available with every query and the column contains the number of the row.

Ex:-
my sql query
SELECT person_name FROM Person_Table LIMIT 10

can be translated to oracle query
SELECT person_name FROM Person_Table WHERE ROWNUM < 10

here is a an article about it
http://www.adp-gmbh.ch/ora/sql/rownum.html

rumbling Said,
January 21st, 2008 @12:57 pm  

Thanks AbraCadabRa for pointing that out , instead of modifying MySql you can easily do that by modifying the get_archives and mw_recent_comments functions found in sidebar.php , these are specific to this theme so you want find in other themes.

Related Post

Leave Your Comments Below

Blog of the Day

Categories

Recommended Products

Free Stuff

Free Tips

  • Get the tips through e-mail

Sponsors

  • Advertise Here
    Chitika Referral

Blogroll

Free Stuff

Featured Sites

Top Commentators

Alexa Details

Technorati