Am I understanding you right here. You don't want RH to use
the CPD database which is an integral part of RH, instead you want
it to talk to an SQL server database? That's called re-engineering
the product and would breach the licence, if you could indeed hack
the program to do that.
Let's look at other options.
First you could try deleting the database and letting RH
create a new one.
Click
here. Obviously heed the warnings and back up first. That will
have the effect of compacting the database.
However, I would say one project of 37,000 topics is way to
large and you should be considering merged help. This topic
describes how to create merged webhelp.
Click
here. There's also something about splitting an existing
project but it's no five minute easy task.
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.