来自:http://zhidao.baidu.com/question/147352997.html
---------------------------------------------------------------
mssql2005
select physical_name from sys.database_files
mssql2000
select filename from sysfiles
-----------------------------------
真正使用中,由于要先确实是哪个数据库,所以可以这样
use shopdaxia; select physical_name from sys.database_files