I'm looking for a way to properly comment my stored procedure code so that I can extract the information into useful documentation ala something like XDOC (or C# equivalent). Something that's preferably lightweight would be ideal.
What is a good XDOC (or C# equivalent) style of program/plug-in for SQL Server?
369 Views Asked by Orion Adrian At
2
There are 2 best solutions below
2
gbn
On
Why not use extended properties which can be queried in a simple SQL statement?
SELECT * FROM sys.extended_properties
No need for any plug-ins, add-ons, or have a specific stored proc layout...
This is what we use for every object in our databases (and we also use Red Gate SQL Doc too to give some structure and a nice web site)
Related Questions in SQL-SERVER
- SQL server not returning all rows
- Big data with spatial queries/indexing
- Conditional null constraint on Null
- SQL Query - Order by String (which contains number and chars)
- Optimising a slow running SQL Server Stored procedure ordered by calculated fields to return a closest match
- Dynamics CRM Publishing Customizations - Multi Developers
- Is there anyway to set the relationship of many tables from Model?
- Implementation of Rank and Dense Rank in MySQL
- ORM Code First versa Database First in Production
- MVC : Insert data to two tables
- Data streams in case of Merge
- table with multiple IDs but seperate notes need sorting (Tried SQL code to make a union query)
- SQL table Partitioning by Year with ColumnStore index implemented on the table
- Defining which network to use for SQL Server 2012 Management Studio
- Fill a week days in a table with preceding Sundays value
Related Questions in SQL-SERVER-2005
- sqlsrv_query doesn't return false on faulty T-SQL query
- PHP error connecting to MS SQL 2005 using CodeIgniter
- SQL Insert Date Mystery on 2012 from 2005
- SQL Server 2000 query conversion
- How to compare two date in SQL Server 2005?
- Different SELECT's for an INSERT INTO
- Selecting from a column with Ampersand(&)
- Get Parent and grand parents of a particular child
- UPDATE after INSERT for potentially multiple rows - not working
- Is there a way to re-write this SQL query using a WITH clause or any other CTE that might be even better?
- Get Active Directory Name From SQL User ID
- vb.net auto update datagridview when database change
- sql query to join and concat values
- UNION ALL on 2 tables select with Cases
- LEFT JOIN on multiple columns with unwanted duplicates
Related Questions in DOCUMENTATION
- How to manage and address supplementary data in R packages
- R functions' aliases documentation
- Document Restful API created in Node.JS
- JSDoc - How to document methods of a prototype object
- How to document an @IBInspectable property in Xcode
- Springfox/Swagger : Documenting HashMap object
- Modifying the grunt-ngDocs template
- Netbeans 8 auto add author to method comment
- How to properly write cross-references to external documentation with intersphinx?
- What is this error about perllocale in Perldoc?
- Human readable documentation current WebSphere configuration
- Error using local modules in documentation tests
- Which type of diagram is used for denoting Client / Server socket programming?
- PHP Docblock for child using parent constructor?
- include imported functions in module documentation
Related Questions in COMMENTS
- Why is executing Java code in comments with certain Unicode characters allowed?
- Add comment to PowerPoint by macro
- How to enable folding of eclipse style block comments in Android Studio?
- Setting Comments in Excel (with apache poi)
- Multiline comment in Elixir
- NetBeans commenting
- How to set :user_id with comment notifications?
- PHP Comment Tag
- Yammer OpenGraph commenting widget loading all feed, but not specific page messages
- Is it okay to have a <!-- comment --> as first line in SVG?
- Why eclipse jsp editor cannot parse java block comment in sperate scriptlets?
- How to set a notification conditional based on polymorphic comments?
- Python Fabric won't comment beginning of line
- Delete empty rows in Excel comment using VBA
- How to open a block of comments on PgAdmin query editor?
Related Questions in XDOC
- Read XML Attribute VBA
- Read Parts of an Xml File trough Stream instead of only one
- Unable to convert string to XElement
- Skip element with getElementsByTagName if it doesn't exist
- Loop each Items in c# using XElement
- How to encode special characters into link in xdoc
- How can i Load a Xdocument online who needs a username and a password
- I want reg ex pattern for xpath
- Using LINQ to query XDocument, how to get specific values?
- How to save xml file after reverse some childs on it
- Check if an xml section exist in a file using XDocument
- Multiple table same fields LINQ
- HTMLworker is printing style tag contents on the top of the generated pdf
- What is a good XDOC (or C# equivalent) style of program/plug-in for SQL Server?
- C# Adding multiple elements to a list using xdocument
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you're already using Sandcastle to generate documentation based on the XML comments that Visual Studio generates, you might want to check out the following CodeProject project:
SQL XML Documentation
It shows you how you can use the tools you're already using to generate documentation for your SQL objects in the same style as the documentation you're already generating for the rest of your code.