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
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: Monday, January 26, 2015 7:01 AM
Points: 1, Visits: 155
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
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, November 18, 2015 2:39 AM
Points: 1,262, Visits: 1,073
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



Group: General Forum Members
Last Login: Today @ 12:13 PM
Points: 13,890, Visits: 35,835
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:

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!


help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
Post #1468587
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse