sqlserver-kit icon indicating copy to clipboard operation
sqlserver-kit copied to clipboard

Useful links, scripts, tools and best practice for Microsoft SQL Server Database

trafficstars

SQL Server KIT

licence badge stars badge forks badge issues badge contributors_badge

Useful links, scripts, tools and best practice for Microsoft SQL Server Database

Headers:

  • Repo Folders and Files
  • SQL Server Web Resources
  • BIML Resources and Bloggers
  • SQL Server Sample Databases and Datasets
  • PowerShell and SQL Server
  • TSQL Format Code
  • SQL Server Test Data Generation
  • Free SQL Server, R ebooks
  • License

Repo Folders and Files

  • SQL Server Data Types
  • SQL Server Drivers
  • SQL Server Edition
  • SQL Server Hints
  • SQL Server Name Convention and T-SQL Programming Style
  • SQL Server Licensing
  • SQL Server People
  • SQL Server Trace Flag (Complete list - 533 trace flags)
  • SQL Server Version (Complete list - from SQL Server 1.0 to SQL Server 2017)
  • Articles
  • CLR procedures
    • SplitterB_CLR
  • Extended Events
  • Known Errors
  • Solution
    • dbWarden a free SQL Server Monitoring Package (by Stevie Rounds and Michael Rounds)
    • Base line Collector script (by Robert Virag)
    • Ola Maintenance Solution (by Ola Hallengren)
    • SQLQueryStress (by Adam Machanic)
    • SysJobHistory (by David Wentzel)
  • SSMS
    • SSMS addins (34 useful free and paid SSMS Addins)
    • SSMS Snippets
    • SSMS Shortcuts (More than 300 Shortcuts)
    • SSMS Tips (Complete guide about hidden gems of SSMS)
  • Scripts
    • Awesome SQL Server Diagnostic Information Queries (by Glenn Alan Berry)
      • SQL Server 2017 Diagnostic Information Queries
      • SQL Server 2016 Diagnostic Information Queries
      • SQL Server 2014 Diagnostic Information Queries
      • SQL Server 2012 Diagnostic Information Queries
      • SQL Server 2008 R2 Diagnostic Information Queries
      • SQL Server 2008 Diagnostic Information Queries
    • Table count alternative (by Jes Schultz Borland)
    • Foreign Key batch rename (by Wes Henriksen)
    • Count character matches
    • and many others...
  • Stored Procedure
    • sp_DBPermissions (by Kenneth Fisher)
    • sp_SrvPermissions (by Kenneth Fisher)
    • sp_RestoreGene (by Paul Brewer)
    • usp_who5 (by Sean Smith)
    • usp_String_Search (by Sean Smith)
    • usp_BulkUpload
    • usp_TableUnpivot
    • and many others...
  • User Defined Function
    • udf_parseJSON
    • udf_RenderXMLToString
    • udf_RTF2Text
    • udf_SplitStringByDelimiter
    • udf_Tally
    • and many others...
  • Utilities (Complete list of 260 SQL Server paid and free Utilities and Tools)

Back to top

SQL Server Web Resources

Back to top

BIML Resources and Bloggers

BIML - Business Intelligence Markup Language

BIML Resources

BIML Bloggers

Back to top

SQL Server Sample Databases and Datasets

Alternative download link for some sample databases: http://bit.ly/ya-ssk

Back to top

PowerShell and SQL Server

Back to top

TSQL Format Code

  • http://sqlinform.com/
  • http://www.dpriver.com/pp/sqlformat.htm
  • http://stackoverflow.com/questions/401928/sql-formatter-for-sql-management-studio
  • http://www.apexsql.com/sql_tools_refactor.aspx
  • http://poorsql.com/
  • http://www.architectshack.com/PoorMansTSqlFormatter.ashx
  • http://www.ssmstoolspack.com/
  • http://www.devart.com/dbforge/sql/sqlcomplete/
  • http://www.sql-format.com/

Back to top

SQL Server Test Data Generation

  • https://www.simple-talk.com/sql/t-sql-programming/generating-test-data-in-tsql/
  • http://www.yandataellan.com/
  • https://github.com/benkeen/generatedata
  • https://sourceforge.net/projects/dbmonster/
  • https://sourceforge.net/projects/spawner/
  • http://databene.org/databene-benerator
  • http://stackoverflow.com/questions/591892/tools-for-generating-mock-data

Back to top

Free SQL Server, R ebooks

SQL Server:

R:

Back to top

License

MIT

If some procedures or scripts are restricted due to ELUA (or we can not find original author), please email or add issue - we remove/update it immediately. Thanks for understanding and patience.