Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Creation of documentation automatically when creating or updating a stored procedure

Creation of documentation automatically when creating or updating a stored procedure

Scheduled Pinned Locked Moved Database
databaseannouncementsql-serversysadminhelp
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    indian143
    wrote on last edited by
    #1

    hi All, Is there any setting in SQL Server when I am creating a stored procedure, it can automatically generate documentation for me that who is creating who is updating, date time of creation and update etc instead me typing all that by myself. Just like in the below example.

    /********************************************************************************************************/
    /* NAME : [Usp_Get_vvvvvvById] */
    /* PURPOSE : THIS STORED PROCEDURE RETRIEVES LIST OF vvvvv codes */
    /* TABLES USED: */
    /* [dbo].[xxxxxxxxxx] , [dbo].[xxxxxxxxxxxxxxx] */
    /* VERSION HISTORY:- */

    /* VERSION NUMBER| DATE | AUTHOR | CHANGES */

    /* 1.0 | 10/18/2017 | xxx | INITIAL VERSION */


    I want it can be generated automatically instead of me typing every-time, anybody can help me please, any help can be a great help - thanks in advance. Thanks, Abdul Aleem "There is already enough hatred in the world lets spread love, compassion and affection."

    V J 2 Replies Last reply
    0
    • I indian143

      hi All, Is there any setting in SQL Server when I am creating a stored procedure, it can automatically generate documentation for me that who is creating who is updating, date time of creation and update etc instead me typing all that by myself. Just like in the below example.

      /********************************************************************************************************/
      /* NAME : [Usp_Get_vvvvvvById] */
      /* PURPOSE : THIS STORED PROCEDURE RETRIEVES LIST OF vvvvv codes */
      /* TABLES USED: */
      /* [dbo].[xxxxxxxxxx] , [dbo].[xxxxxxxxxxxxxxx] */
      /* VERSION HISTORY:- */

      /* VERSION NUMBER| DATE | AUTHOR | CHANGES */

      /* 1.0 | 10/18/2017 | xxx | INITIAL VERSION */


      I want it can be generated automatically instead of me typing every-time, anybody can help me please, any help can be a great help - thanks in advance. Thanks, Abdul Aleem "There is already enough hatred in the world lets spread love, compassion and affection."

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      I do not have any exact answer, however, this could be interesting: https://www.red-gate.com/simple-talk/sql/t-sql-programming/documenting-your-sql-server-database/ https://social.msdn.microsoft.com/Forums/sqlserver/en-US/bf682ea7-880b-4527-b7ad-112008836580/free-sql-server-documentation-tools?forum=sqldocumentation

      1 Reply Last reply
      0
      • I indian143

        hi All, Is there any setting in SQL Server when I am creating a stored procedure, it can automatically generate documentation for me that who is creating who is updating, date time of creation and update etc instead me typing all that by myself. Just like in the below example.

        /********************************************************************************************************/
        /* NAME : [Usp_Get_vvvvvvById] */
        /* PURPOSE : THIS STORED PROCEDURE RETRIEVES LIST OF vvvvv codes */
        /* TABLES USED: */
        /* [dbo].[xxxxxxxxxx] , [dbo].[xxxxxxxxxxxxxxx] */
        /* VERSION HISTORY:- */

        /* VERSION NUMBER| DATE | AUTHOR | CHANGES */

        /* 1.0 | 10/18/2017 | xxx | INITIAL VERSION */


        I want it can be generated automatically instead of me typing every-time, anybody can help me please, any help can be a great help - thanks in advance. Thanks, Abdul Aleem "There is already enough hatred in the world lets spread love, compassion and affection."

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #3

        I presume that you mean when you are in an editor and start a new proc. Rather certain that Visual Studio provides that straight out of the box. Certainly has for a very long time for other languages like C#. There is or at least was something named something like 'template' which was invoked every time one created a file of a new type.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups