lulu_lutz
SSCrazy
Points: 2155
More actions
April 13, 2011 at 8:48 am
#74354
I need to obtain a list of database names and their file locations in sql 2000. Any suggestions?
Jack Corbett
SSC Guru
Points: 184394
April 13, 2011 at 2:10 pm
#1311313
select name, filename from master.dbo.sysdatabases
Jack CorbettConsultant - Straight Path SolutionsCheck out these links on how to get faster and more accurate answers:Forum Etiquette: How to post data/code on a forum to get the best help Need an Answer? Actually, No ... You Need a Question
Michael Valentine Jones
Points: 64818
April 13, 2011 at 2:27 pm
#1311324
Get Server Database File Information
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=89058
george sibbald
Points: 104210
April 13, 2011 at 4:16 pm
#1311370
join sysdatabases to sysaltfiles on dbid (in master database)
---------------------------------------------------------------------
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply