[pvr] changed implementation of DeleteValues()
[pvr] get rid of FormatSQL and use PrepareSQL instead
[pvr] get rid of ResultQuery and use dataset query instead