Is there any information available for connecting SQL Server 2000 or 2005 to asterisk?
You can use freetds.
http://www.voip-info.org/wiki/view/FreeTDS