Auto Generate SQL Doc Documentation

csipescsipes Posts: 2
edited February 16, 2017 8:24AM in SQL Doc
Wondering if anyone has implemented any automated jobs to generate/update the sql documentation or if this is an entirely manual process.
Thanks!

Comments

  • Hi,

    You can automate SQL Doc using the command line interface. So you can automate the generation of documentation as long as your agent or scheduler can use the command line.
    Software Engineer
    Redgate Software
  • bthomasonbthomason Posts: 1 New member
    I know this is an old post, but I was able to successfully automate the documentation of databases using the command line interface. I wasn't able to get the username and password flags to work correctly (I think because of encryption), but if you create a project in sql doc, then save it you can open the project in notepad and modify the options to be what you want them to be then use the /project flag to generate the document more easily. The final command looks like this.

    cd "C:Program Files (x86)Red GateSQL Doc 3" && sqldoc /project:"Path to sql doc projectsavedproject.sqldoc"
Sign In or Register to comment.