I think this can be done on the command line. I recall one customer created a batch file that used SQL Doc to create the HTML and then stsadm to put it on a site. I don't have any details about exactly how they did it, but I'm sure if you check the SharePoint docs it probably says how you can publish web pages.