What task are you trying to accomplish? If you are attempting to extract data from Salesforce into SQL/Server then grab a copy of CopyStorm (www.capstorm.com). I use this product in production. If you want to fetch SQL/Server from within the apex environment then you will need to create a web service SFDC can call out to to fetch SQL/Server data (not all that hard -- I also do this in production environments).
calling database using webservice and take the data from webservice is one option
Punnoose
What task are you trying to accomplish? If you are attempting to extract data from Salesforce into SQL/Server then grab a copy of CopyStorm (www.capstorm.com). I use this product in production. If you want to fetch SQL/Server from within the apex environment then you will need to create a web service SFDC can call out to to fetch SQL/Server data (not all that hard -- I also do this in production environments).