Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Dreaded Documentation. Expand / Collapse
Author
Message
Posted Friday, June 28, 2013 8:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: 2 days ago @ 8:59 AM
Points: 1, Visits: 154
Its that dreaded time. The IT manager just handed me a long list of of all the servers that are probably running SQL and wants me to get him some basic documentation. Is anyone aware of a tool that can automagically work through a list of severs and record server/instance/db information to a central management server.

I've looked a few offerings and they don't offer everything i want. Either they just work per instance or db, or they just export to a doc or flat file. I'm not interested in some fancy word/html/excel output just return the results to a db to report on demand.
Post #1468579
Posted Friday, June 28, 2013 9:13 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Thursday, April 10, 2014 8:02 AM
Points: 755, Visits: 1,024
Not a magic tool to do the job, but sounds like something you could maybe knock up pretty quickly in PowerShell.

-----------------------------------------------
SQL Server posts at my blog, Grapefruitmoon.Net
Post #1468586
Posted Friday, June 28, 2013 9:17 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 4:29 PM
Points: 12,741, Visits: 31,053
hopefully you'll get a stack of options;

Here's one: this procedure returns a table of HTML-formatted information that documents some server settings, and object details of the currently scoped database:

Link To sp_dbDocumentation.txt

it has a dependency to a stored procedure which scripts a TABLE or objects DDL as a varchar string I created here:
Link To sp_GetDDL_Latest.txt

it's an enhancement of this shallowabove's contribution:
http://www.sqlservercentral.com/scripts/Miscellaneous/31005/

and it produces well formed HTML output that looks like this:

Sample HTML Output DEV223_master.html

because it looks pretty, it usually solves some of the documentation requirements pretty quickly and easily. Hope this helps you out, along with any other posts folks can add!



Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1468587
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse