You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is recommend installing the [sp_Develop](https://github.com/EmergentSoftware/SQL-Server-Assess/blob/master/sp_Develop.sql) stored procedures in the master database for full SQL Servers, but if you want to use another one, that's totally fine.
9
9
10
10
On Azure SQL Server you will need to install the sp_Develop stored procedure in the user database.
11
11
12
-
## Usage Instructions
12
+
## sp_Develop Usage Instructions
13
13
14
14
After installing the [sp_Develop](https://github.com/EmergentSoftware/SQL-Server-Assess/blob/master/sp_Develop.sql) stored procedure open SSMS and run in the database you wish to check for database development best practices.
15
15
@@ -19,7 +19,7 @@ EXECUTE dbo.sp_Develop
19
19
20
20
[Check out the parameter section for more options](#Parameter-Explanations)
21
21
22
-
## Parameter Explanations
22
+
## sp_Develop Parameter Explanations
23
23
24
24
|Parameter|Details|
25
25
|--|--|
@@ -59,6 +59,28 @@ The 'Test Database' folder contains the RedGate SQL Source Control. Use this dat
59
59
-[Link to Git](https://documentation.red-gate.com/soc7/linking-to-source-control/link-to-git)
60
60
61
61
62
+
# Configure Development Application Settings
63
+
64
+
Included in this project are settings you can use for database development. Using the same set of settings across a team will helps ensure consisitent development patterns.
65
+
66
+
#### SQL Server Management Studio
67
+
68
+
The settings are located in the project "[\SQL-Server-Assess\Development Application Settings\Microsoft\SQL Server Management Studio\General Settings](https://github.com/EmergentSoftware/SQL-Server-Assess/tree/master/Development%20Application%20Settings/Microsoft/SQL%20Server%20Management%20Studio/General%20Settings)"
69
+
70
+
1. Cloned or forked the repo
71
+
2. In SSMS navigate to "Tools > Options > Environment > Import and Export Settings"
72
+
3. Check "Use team settings file" and browse to "..\SQL-Server-Assess\Development Application Settings\Microsoft\SQL Server Management Studio\General Settings\SSMS.vssettings"
73
+
4. Click the "OK" button
74
+
75
+
#### RedGate SQL Server Prompt
76
+
77
+
The settings are located in the project "[\SQL-Server-Assess\Development Application Settings\Red Gate\SQL Prompt](https://github.com/EmergentSoftware/SQL-Server-Assess/tree/master/Development%20Application%20Settings/Red%20Gate/SQL%20Prompt)"
SQL statements should be arranged in an easy-to-read manner. When statements are written all to one lineor not broken into smaller easy-to-read chunks, more complicated statements are very hard to decipher.
568
590
569
-
Use one of the two RedGate SQL Prompt formatting styles "Collapsed"or"Expanded". If you edit T-SQL code that was in a one of the two styles, put the style back to its original style after you completed editing.
570
-
591
+
Use one of the two RedGate SQL Prompt formatting styles "[Team Collapsed](https://github.com/EmergentSoftware/SQL-Server-Assess/blob/master/Development%20Application%20Settings/Red%20Gate/SQL%20Prompt/Formatting%20Styles/Team%20Collapsed.sqlpromptstylev2)"or"[Team Expanded](https://github.com/EmergentSoftware/SQL-Server-Assess/blob/master/Development%20Application%20Settings/Red%20Gate/SQL%20Prompt/Formatting%20Styles/Team%20Expanded.sqlpromptstylev2)". If you edit T-SQL code that was in a one of the two styles, put the style back to its original style after you completed editing.
0 commit comments