Settings and activity
88 results found
-
45 votespaul price supported this idea ·
-
47 votespaul price supported this idea ·
-
530 votes
Thanks for this suggestion and for the many comments and upvotes. I realize that this is a pain point.
I have a few shorter-term workarounds to summarize as well as some information on the longer roadmap in this update. I know these shorter-term workarounds aren’t perfect (I summarize the pros and cons), but I’m posting them as they may help a few folks.
Workaround 1) When data changes to static data need to be made, use a “relink the table” pattern
One can “cleanly rescript” a static data table in SQL Source Control by:- Unlinking the static data table
- Committing
- Relinking the static data table
- Committing
Pro: This works with the GUI and requires no special knowledge or comfort with TSQL. This may help folks with just a few static data tables.
Con: This requires extra steps and results in extra commits in the history, which I realize can…paul price supported this idea · -
480 votes
Thank you everyone for your comments and votes on this over the years. While I don’t have a 100% full resolution for this suggestion, I can sum up our current recommendations here. Continued feedback is very welcome.
Our current recommendation is to use the post-deployment script feature of SQL Source Control (released in V6.3) to manage SQL Server Agent jobs.
An example script for this is here: https://documentation.red-gate.com/soc/common-tasks/working-with-pre-post-deployment-scripts/create-sql-server-agent-job
As some commenters in this thread have alluded to, it is possible (and sometimes very common) for SQL Agent jobs to have steps that touch multiple databases on a single SQL Server Instance. For this reason, some customers prefer to create a separate database for instance-level management and objects (sometimes named DBA or similar) and choose to manage things like linked servers and SQL Agent jobs with the post-script associated with that database.
This separate-database architecture also makes sense if the jobs…
paul price supported this idea · -
36 votespaul price supported this idea ·
-
102 votespaul price supported this idea ·
-
84 votespaul price supported this idea ·
-
6 votespaul price supported this idea ·
-
2 votespaul price supported this idea ·
An error occurred while saving the comment -
2 votes
An error occurred while saving the comment paul price commentedFor names with embedded spaces, may want to delimit.
Also formatting options could be for HTML, XML, JSON, etc.paul price supported this idea · -
16 votespaul price supported this idea ·
-
2 votespaul price supported this idea ·
-
11 votespaul price supported this idea ·
-
2 votespaul price supported this idea ·
-
4 votespaul price supported this idea ·
-
24 votespaul price supported this idea ·
-
12 votespaul price supported this idea ·
-
11 votespaul price supported this idea ·
-
11 votespaul price supported this idea ·
-
14 votespaul price supported this idea ·
I think it would be very cool to auto-color the columns in a SQL statement by database