Hey all,
My intention was this: Find the stored procedure that will give you:
· database name
· database file location
· log file location
· backup file location
With a little digging around it seems that this is not as simple a task
as I originally thought.
The obvious problems start to rear up when you look at sp_helpdb
'dbname' as although I only have one database file and log file per
database, this is by no means the limitation of sql server.
Then it gets a little stickier with the maintenance plans, I've no
prior experience querying the info from them and nosing around the
books online has left me a little more confused than I started on this
one.
So my question is this: any advice? Should I can this project and
collect the data by hand? Is there a stored procedure that I have
completely overlooked that is just the business? Is it in fact a lot
easier than I thought and I need only...?
Comments appreciated.
Thank you,
Don
My intention was this: Find the stored procedure that will give you:
· database name
· database file location
· log file location
· backup file location
With a little digging around it seems that this is not as simple a task
as I originally thought.
The obvious problems start to rear up when you look at sp_helpdb
'dbname' as although I only have one database file and log file per
database, this is by no means the limitation of sql server.
Then it gets a little stickier with the maintenance plans, I've no
prior experience querying the info from them and nosing around the
books online has left me a little more confused than I started on this
one.
So my question is this: any advice? Should I can this project and
collect the data by hand? Is there a stored procedure that I have
completely overlooked that is just the business? Is it in fact a lot
easier than I thought and I need only...?
Comments appreciated.
Thank you,
Don
Comment