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?
370 views Asked by Orion Adrian At
2
There are 2 answers
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
- Dynamic query creation with Array like implementation
- 'pyodbc.Cursor' object has no attribute 'callproc', mssql with django
- Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, ${SPRING_DATASOURCE_URL}: GitHub Actions
- PHP Laravel SQLServer could not find driver
- Upsert huge amount of data by EFCore.BulkExtensions
- How to locate relevant tables or columns in a SQL Server database
- Cannot delete SQL datafile (.mdf) as its currently in use
- Writing query in CTE returning the wrong output
- Group By Sum and without Group by sum Amount is different
- plan_handle is always different for each query in SQL Server Cache
- Adding a different string to a table fails
- The specified data type in the EF modelBuilder doesn't correspond to the one that is created
- SQL71561: SqlComputedColumn: When column selected
- How to Solve Error Associated with Trusted Authority
- SQL Server Data Model and Insert Performance
Related Questions in SQL-SERVER-2005
- Sqlcmd can connect to old SQL Server 2005, but connection string pyodbc with Driver 18 from Microsoft does not work
- Possible reasons for an SSIS conditional split into the same destination table?
- Replace occurrences of characters in a string
- What does the value 30 indicate in the type column in the MSrepl_commands table?
- What is the fastest way to extract data from SQL Server 2005 using PowerShell 7?
- Auto applied migrations using EF Core 7.0.14
- Need a SQL Query for Getting matched and not matched Records
- SQL Server query returns multiple line results instead of returning 1 line
- Write error with spark.write against SQL Server table (via JDBC Connection)
- Extract data using multiple conditions for the column value?
- MS SQL SERVER 2005 temp db log file size is increasing
- How to get the sum of a column for the current month?
- Cannot connect to server - An existing connection was forcibly closed by the remote host
- MS SQL Sort Alphanumeric values (1, 2, 3, 5, 6, 7, 9, 10, 4a, 8a, 4b, 8b)
- Is there a way to Manually unlock the Opentext Exstream Design Database?
Related Questions in DOCUMENTATION
- steps to create a web app with backend and database and web
- fastapi docs , Pydantic BaseModel, request example missing
- doxyqml not documenting qml files properly
- how to document QML files inside C++ project?
- MPDF HTML Fill page
- Is it possible with Doxygen to have the detailed descriptions inline instead of in a separate section of the page?
- Doxygen cref doesn't work without full namespace (even for classes in same namespace)
- Use of Interactive API documentation with OpenAPI GitLab
- PrestaShop metrics definition
- Need documentation or API reference to create job posts on Hirist platform
- how can i Automate documentation in my CI/CD pipeline or through my project workflow (java) ? documentation generator for the whole process?
- How can I document the structure of my code?
- How add XML2CSV processor to Keboola components?
- Error in the Nextjs' dashboard tutor project
- Show quick documentation near Code Completion window for selected word in VS Code
Related Questions in COMMENTS
- Why does Angular ^17 have problems with my modules, services, etc
- How to highlight comments in several different colors in CLion?
- Delimited comment in C#
- How can a Google Sheet Commenter receive all Notifications from all user's comments?
- How to optimize and implement infinite comments through prefetch with django orm?
- automatic commenting for users on the home page of Twitter
- Forcing "server" comments on Visual Studio
- How to convert a Ruby Hash to YAML and keeping comments?
- Wordpress Comments with ACF plugin - How do i show the info on the comments area?
- Disable strike trough comment
- How to remove licence comment in JS for development with Vite?
- What does 'has a SUC' mean?
- What is this decorator looking comment in javascript
- Can we add image in code comments in VS code
- Descriptive auto-complete comments for python in Visual Studio Code
Related Questions in XDOC
- Deserializing hefty XML doc into c# objects
- How to encode special characters into link in xdoc
- Multiple table same fields LINQ
- How to use For loop inside XElement
- Read Parts of an Xml File trough Stream instead of only one
- Add space for formatting before Xelement in XML file usin C#
- Is there any way to extract charts from excel and convert them to image format using java?
- Skip element with getElementsByTagName if it doesn't exist
- LINQ/XML: Get the attribut value if the attribut name contains a certain key word
- Why do batches of larger files get processed faster than same-sized batches of smaller files?
- Iterating through for loop but getting only one result
- XDocument Filter by attribute date value
- Querying XMLelements in C#
- Check if an xml section exist in a file using XDocument
- HTMLworker is printing style tag contents on the top of the generated pdf
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?
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)
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.