Another Question: In a TDS test program, kinda like samples/tdstest.c from the tds 0.50 tarball, how would I add code to select which database to connect to, instead of the default one the TDS Compliant server connects me to? Ian Charnas.