Hi George,
I'm sure that some people will find that useful to some people who wish to retrieve data from an SQL server. Moreover, this doesn't have to be done from UniVerse - it could be any MV database.
However, you do realise that UniVerse has a native ability to connect to SQL databases, don't you? Like most things in UniVerse, it isn't intuitively documented, but it is there.
Look up the BCI interface (Basic Client Interface). As long as you have an ODBC driver for the database in question, then you should be able to use the BCI functions to query and update the SQL server.
Using the BCI functions should get around one of the security issues you raise - the username and password should not be easily visible to anyone sniffing your network.
Cheers,
Brian