Comments
Sort by recent activity
HI Christian Thanks for confirming. I did manage to find a workaround as follows:-
Use SQL doc to create and run the initial project, selecting only the sections I want.
Save the SQLDoc project to somewhere central.
Use a PowerShell script to run the SQLDOC.exe with a project file and the force parameter to make sure it overwrites the original (optional but useful in our use-case).
This is the PowerShell code I've used:- Set-Alias SQLDoc 'C:\Program Files (x86)\Red Gate\SQL Doc 5\SQLdoc.exe' -Scope Script #Get the location of the file to give the PDF $LocationOfProjectFile='Location of sqldoc file\sqldocfilename.sqldoc' #Generate the document SQLdoc /project:$LocationOfProjectFile /force It looks like the sqldoc is used to either include or exclude the the options you want by assigning either True or False to the values. It takes a bit of setting up (going through all the option in SQLDoc) and it's not easy to manipulate afterwards but we got it to work. Hopefully this will help someone else. Regards Richard / comments
HI Christian Thanks for confirming. I did manage to find a workaround as follows:-
Use SQL doc to create and run the initial project, selecting only the sections I want.
Save the SQLDoc project to ...