I gave this answer to a very similar question just the other day.
In reply to Re: I need to tell what I pulled from SQL by ehdonhon in thread I need to tell what I pulled from SQL by Anonymous Monk