um,... well the simple answer is yes,.... it really depends on what you are trying to retrieve from the database.
if you want to supply more information like the database table structure the query you are executing and the parameters you are using then perhaps we can help.