René's URL Explorer Experiment


Title: GitHub - SQLauto/DBBestPractices

Open Graph Title: GitHub - SQLauto/DBBestPractices

X Title: GitHub - SQLauto/DBBestPractices

Description: Contribute to SQLauto/DBBestPractices development by creating an account on GitHub.

Open Graph Description: Contribute to SQLauto/DBBestPractices development by creating an account on GitHub.

X Description: Contribute to SQLauto/DBBestPractices development by creating an account on GitHub.

Opengraph URL: https://github.com/SQLauto/DBBestPractices

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:6cc66ac9-6f6e-48d0-0716-b74e5fabe431
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idDFB6:1889FD:4B19C33:67306E4:69780AF9
html-safe-nonce5482d4add8e4905050ddc2f86f9591b0fa0c8a91b54cf092588b3eb656ed5e85
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkI2OjE4ODlGRDo0QjE5QzMzOjY3MzA2RTQ6Njk3ODBBRjkiLCJ2aXNpdG9yX2lkIjoiNDI1MTYzMDE4MDEwNDY2OTk0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace98ea07f746158221263ab25cdb708d38d3897ff29f9b556ca63d28d8dfbae6c
hovercard-subject-tagrepository:645058893
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/SQLauto/DBBestPractices
twitter:imagehttps://opengraph.githubassets.com/18f52a63dc7359e6e37f08a0623ae32cd8f42e5daa769314c265e219439f9a5f/SQLauto/DBBestPractices
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/18f52a63dc7359e6e37f08a0623ae32cd8f42e5daa769314c265e219439f9a5f/SQLauto/DBBestPractices
og:image:altContribute to SQLauto/DBBestPractices development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee71ed39771d00f42ce2fc9320895c8c608c164191e118eae487fc3bd0af6886d
turbo-cache-controlno-preview
go-importgithub.com/SQLauto/DBBestPractices git https://github.com/SQLauto/DBBestPractices.git
octolytics-dimension-user_id15952099
octolytics-dimension-user_loginSQLauto
octolytics-dimension-repository_id645058893
octolytics-dimension-repository_nwoSQLauto/DBBestPractices
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id644972371
octolytics-dimension-repository_parent_nwokevinmartintech/SQL-Server-Database-Development-Best-Practices
octolytics-dimension-repository_network_root_id644972371
octolytics-dimension-repository_network_root_nwokevinmartintech/SQL-Server-Database-Development-Best-Practices
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4919f24054c1e9bf76d7b543cb2ac018075b18ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSQLauto%2FDBBestPractices
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSQLauto%2FDBBestPractices
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=SQLauto%2FDBBestPractices
Reloadhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
Reloadhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
Reloadhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
SQLauto https://patch-diff.githubusercontent.com/SQLauto
DBBestPracticeshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
kevinmartintech/SQL-Server-Database-Development-Best-Practiceshttps://patch-diff.githubusercontent.com/kevinmartintech/SQL-Server-Database-Development-Best-Practices
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FSQLauto%2FDBBestPractices
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2FSQLauto%2FDBBestPractices
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2FSQLauto%2FDBBestPractices
MIT license https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/LICENSE
0 stars https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/stargazers
1 fork https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/forks
Branches https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/branches
Tags https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/tags
Activity https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2FSQLauto%2FDBBestPractices
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FSQLauto%2FDBBestPractices
Code https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
Pull requests 0 https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/pulls
Actions https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/actions
Projects 0 https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/projects
Security 0 https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/security
Insights https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/pulse
Code https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
Pull requests https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/pulls
Actions https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/actions
Projects https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/projects
Security https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/security
Insights https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/pulse
Brancheshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/branches
Tagshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/tags
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/branches
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/tags
2 Commitshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/commits/main/
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/commits/main/
LICENSEhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/README.md
README.mdhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/README.md
READMEhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
Licensehttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#naming-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#common-database-object-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#prefix-naming
Additional Scenarios that lead to compile locks (2. Stored procedure is prefixed with sp_)https://docs.microsoft.com/en-us/troubleshoot/sql/performance/troubleshoot-blocking-caused-compile-locks#additional-scenarios-that-lead-to-compile-locks:~:text=Stored%20procedure%20is%20prefixed%20with%20sp_
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#plural-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#pascalcase-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#reserved-word-naming
Reserved Keywordshttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/reserved-keywords-transact-sql
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#special-character-naming
Use PascalCasehttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#use-pascalcase
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#abbreviation-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#numbers-in-names
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#schema-naming
SQL Server Best Practices – Implementation of Database Object Schemashttps://learn.microsoft.com/en-us/previous-versions/sql/sql-server-2008/dd283095(v=sql.100)
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#schema-naming-examples
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#table-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#look-up-table-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#address-type-sample-table
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#concatenating-two-table-names-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-naming-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-naming-to-reflect-attributes-precisely
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-naming-to-avoid-repeating-table-names
Primary Key Column Naminghttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#primary-key-column-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-naming-for-abbreviations
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-naming-for-common-or-natural-words-or-terms
Affirmative Boolean Naminghttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#affirmative-boolean-naming
URL or URI Naminghttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#url-or-uri-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#primary-key-column-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#foreign-key-column-naming
Primary Key Column Naminghttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#primary-key-column-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#affirmative-boolean-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#affirmative-boolean-naming-examples
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#url-or-uri-naming
The Difference Between a URL, URI, and a URNhttps://danielmiessler.com/study/difference-between-uri-url
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#foreign-key-relationship-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#parameter-and-variable-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#index-naming
uniqueidentifier in a Clustered Indexhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#uniqueidentifier-in-a-clustered-index-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#primary-key-clustered-index-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#natural-key-naming
Unique Indexeshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#unique-indexes
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#constraint-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#default-column-constraint-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-check-constraint-naming
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#unique-column-constraint-naming
Unique Indexeshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#unique-indexes
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#system-generated-naming
Naming Constraint Usagehttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/naming-conventions#naming-constraint-usage
Naming Primary Keyshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/naming-conventions#naming-primary-keys
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#views
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#stored-procedures
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#functions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#triggers
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#user-defined-data-types
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#variables
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#table-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#create-an-inline-index-convention
https://learn.microsoft.com/en-us/sql/t-sql/statements/create-table-transact-sql?view=sql-server-ver16#u-create-an-inline-indexhttps://learn.microsoft.com/en-us/sql/t-sql/statements/create-table-transact-sql?view=sql-server-ver16#u-create-an-inline-index
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#table-normal-form-convention
Database Normalizinghttps://en.wikipedia.org/wiki/Database_normalization
Boyce–Codd normal form (BCNF or 3.5NF)https://en.wikipedia.org/wiki/Boyce%E2%80%93Codd_normal_form
Keeping Denormalized Values Correcthttp://database-programmer.blogspot.com/2008/11/keeping-denormalized-values-correct.html
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#table-inheritance-type-convention
Table Per Type (TPT)https://entityframework.net/tpt
Table Per Concrete (TPC)https://entityframework.net/tpc
Table Per Hierarchy (TPH)https://entityframework.net/tph
Table Per Type (TPT)https://entityframework.net/tpt
Not Normalizing Tableshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#not-normalizing-tables
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#table-entity-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#table-entity-use-case-exception
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#weak-or-strong-table-entity-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#system-versioned-temporal-tables-compression-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#table-partition-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#entity-attribute-value-convention
Entity–Attribute–Value (EAV) model https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model
Inner-platform effecthttps://en.wikipedia.org/wiki/Inner-platform_effect
anti-patternhttps://en.wikipedia.org/wiki/Anti-pattern
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#entity-attribute-value-use-case-exceptions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-conventions
Data Type Conventionshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#data-type-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#primary-key-convention
Primary Key Column Naminghttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#primary-key-column-naming
https://camo.githubusercontent.com/df1c20ab99c09547af75a0b99a00c6fd4d333cf69da795a68348deb6c301a4cf/68747470733a2f2f656d657267656e74736f6674776172652e6769746875622e696f2f53514c2d5365727665722d446576656c6f706d656e742d4173736573736d656e742f496d616765732f554e495155454944454e5449464945525f466f725f5072696d6172795f4b65792e706e67
uniqueidentifier in a Clustered Indexhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#uniqueidentifier-in-a-clustered-index-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#nullable-columns-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#nullable-columns-and-join-elimination
Untrusted Foreign Keyhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#untrusted-foreign-key
https://camo.githubusercontent.com/96969d24d0e607cf29d4324a8f3ed2e06d0ea44f1ce18bdad9558ac05f30ed18/68747470733a2f2f656d657267656e74736f6674776172652e6769746875622e696f2f53514c2d5365727665722d446576656c6f706d656e742d4173736573736d656e742f496d616765732f4a4f494e5f456c696d696e6174696f6e5f4e4f545f4e554c4c2e706e67
https://camo.githubusercontent.com/9d779b90486f1e070967769c57b1275c46c6fb255c969a7f2affa32c7bb124f0/68747470733a2f2f656d657267656e74736f6674776172652e6769746875622e696f2f53514c2d5365727665722d446576656c6f706d656e742d4173736573736d656e742f496d616765732f4a4f494e5f456c696d696e6174696f6e5f4e554c4c2e706e67
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#specify-null-or-not-null-option-for-columns-convention
Untrusted Foreign Keyhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#untrusted-foreign-key
https://camo.githubusercontent.com/96969d24d0e607cf29d4324a8f3ed2e06d0ea44f1ce18bdad9558ac05f30ed18/68747470733a2f2f656d657267656e74736f6674776172652e6769746875622e696f2f53514c2d5365727665722d446576656c6f706d656e742d4173736573736d656e742f496d616765732f4a4f494e5f456c696d696e6174696f6e5f4e4f545f4e554c4c2e706e67
https://camo.githubusercontent.com/9d779b90486f1e070967769c57b1275c46c6fb255c969a7f2affa32c7bb124f0/68747470733a2f2f656d657267656e74736f6674776172652e6769746875622e696f2f53514c2d5365727665722d446576656c6f706d656e742d4173736573736d656e742f496d616765732f4a4f494e5f456c696d696e6174696f6e5f4e554c4c2e706e67
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#column-collation-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#foreign-key-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#foreign-key-index-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#cascading-actions-on-foreign-keys-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#index-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-missing-indexes-recommendations
Books Online: Limitations of the Missing Indexes Featurehttp://msdn.microsoft.com/en-us/library/ms345485(v=sql.105).aspx
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#specify-ascending-or-descending-for-indexes-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#disabling-indexes-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#filter-columns-in-indexes-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#clustered-index-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#index-fill-factor-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#filter-columns-in-index-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#uniqueidentifier-in-a-clustered-index-convention
Ola Hallengren maintenance scriptshttps://ola.hallengren.com/
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#unique-index-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#constraint-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#untrusted-foreign-key-or-check-constraints
If you don't specify, WITH CHECK is assumed for new constraints, and WITH NOCHECK is assumed for re-enabled constraintshttps://docs.microsoft.com/en-us/sql/t-sql/statements/alter-table-transact-sql?redirectedfrom=MSDN&view=sql-server-ver16#with-check--with-nocheck
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#disabled-check-constraint-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#data-type-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#data-type-length-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#always-specify-lengths-for-a-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#variable-length-that-are-size-1-or-2-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#matching-data-types-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#deprecated-data-types-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#sysname-data-type-convention
Microsoft docshttps://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008/ms191240(v=sql.100)?redirectedfrom=MSDN#:~:text=The%20sysname%20data%20type%20is%20used%20for%20table%20columns%2C%20variables%2C%20and%20stored%20procedure%20parameters%20that%20store%20object%20names.
Back to tophttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#top
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#nvarcharmax-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#boolean-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#scientific-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#variant-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#user-defined-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#time-zone-aware-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#date-and-time-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#money-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#unicode-national-language-character-set-data-type-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#email-address-convention
There is a restriction in RFC 2821 on the length of an address in MAIL and RCPT commands of 254 characters. Since addresses that do not fit in those fields are not normally useful, the upper limit on address lengths should normally be considered to be 254.https://www.rfc-editor.org/errata_search.php?rfc=3696&eid=1690#:~:text=there%20is%20a%20restriction%20in%20RFC%202821%20on%20the%20length%20of%20an%0A%20%20%20address%20in%20MAIL%20and%20RCPT%20commands%20of%20254%20characters.%20%20Since%20addresses%0A%20%20%20that%20do%20not%20fit%20in%20those%20fields%20are%20not%20normally%20useful%2C%20the%20upper%0A%20%20%20limit%20on%20address%20lengths%20should%20normally%20be%20considered%20to%20be%20254.
submitted erratumhttps://www.rfc-editor.org/errata_search.php?rfc=3696&eid=1690
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#url-convention
RFC 7231, section 6.5.12: 414 URI Too Longhttps://datatracker.ietf.org/doc/html/rfc7231#section-6.5.12
URL or URI Naminghttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/naming-conventions#url-or-uri-naming
Maximum URL length is 2,083 characters in Internet Explorerhttps://support.microsoft.com/en-us/topic/maximum-url-length-is-2-083-characters-in-internet-explorer-174e7c8a-6666-f4e0-6fd6-908b53c12246
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#coding-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#source-control-convention
Redgate SQL Source Controlhttps://www.red-gate.com/products/sql-development/sql-source-control/
SQL Server Data Toolshttps://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt
monorepohttps://en.wikipedia.org/wiki/Monorepo
monorepohttps://en.wikipedia.org/wiki/Monorepo
Should the Database and Application projects be in the same Repository?https://eitanblumin.com/2022/07/05/should-the-database-and-application-projects-be-in-the-same-repository
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#environments-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#deprecated-or-discontinued-feature-convention
Deprecated database engine features in SQL Server 2022https://learn.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-2022
Discontinued features in SQL Server 2022https://learn.microsoft.com/en-us/sql/database-engine/discontinued-database-engine-functionality-in-sql-server?view=sql-server-ver16#:~:text=in%20SQL%20Server.-,Discontinued%20features%20in%20SQL%20Server%202022
Deprecated database engine features in SQL Server 2019https://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-version-15?view=sql-server-ver15
Discontinued features in SQL Server 2019https://learn.microsoft.com/cs-cz/sql/database-engine/discontinued-database-engine-functionality-in-sql-server?view=sql-server-ver16#:~:text=adls-,Discontinued%20features%20in%20SQL%20Server%202019
Deprecated Database Engine Features in SQL Server 2017https://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-2017?view=sql-server-ver15
Deprecated Database Engine Features in SQL Server 2016https://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-2016?view=sql-server-ver15
Discontinued features in SQL Server 2016https://learn.microsoft.com/en-us/sql/database-engine/discontinued-database-engine-functionality-in-sql-server?view=sql-server-ver15#discontinued-features-in--2:~:text=2017%20(14.x).-,Discontinued%20features%20in%20SQL%20Server%202016
Discontinued Database Engine Functionality in SQL Server 2014https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014&preserve-view=true
Discontinued Features in SQL Server 2012https://docs.microsoft.com/en-us/previous-versions/sql/2014/database-engine/discontinued-database-engine-functionality-in-sql-server-2016?view=sql-server-2014&preserve-view=true#Denali
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#orm-vs-stored-procedures-convention
sp_CRUDGenhttps://github.com/kevinmartintech/sp_CRUDGen
Database-First: Stored Procedure in Entity Frameworkhttps://www.entityframeworktutorial.net/stored-procedure-in-entity-framework.aspx
Simple C# Data Access with Dapper and SQL - Minimal API Project Part 1https://www.youtube.com/watch?v=dwMFg6uxQ0I
Simple C# Data Access with Dapper and SQL - Minimal API Project Part 2https://www.youtube.com/watch?v=5tYSO5mAjXs
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#begin-end-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#if-statements
Not Using Semicolon to Terminate Statementshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-semicolon-to-terminate-statements
Not Using Semicolon THROWhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-semicolon-throw
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#stored-procedures-1
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-set-nocount-on-in-stored-procedure-or-trigger-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-nolock-read-uncommitted-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#select-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-select-distinct-group-by-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#from-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-table-alias-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-hints-convention
table hintshttps://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-table
query hintshttps://learn.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-query
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#where-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#non-sargable-expression-in-a-where-clause-convention
https://camo.githubusercontent.com/2a2c263e5e1013b86f2de02adc3bab711af537e52b4a20ea1234013b7b732ef3/68747470733a2f2f656d657267656e74736f6674776172652e6769746875622e696f2f53514c2d5365727665722d446576656c6f706d656e742d4173736573736d656e742f496d616765732f5573696e675f615f4e6f6e2d5341524761626c655f45787072657373696f6e5f696e5f615f57484552455f436c617573652e706e67
Using Missing Indexes Recommendationshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-missing-indexes-recommendations
https://camo.githubusercontent.com/64a7ccfed6d9fc61d7341a484b7cc4f48bfb052ef5966e9d2f4c035ea587587f/68747470733a2f2f656d657267656e74736f6674776172652e6769746875622e696f2f53514c2d5365727665722d446576656c6f706d656e742d4173736573736d656e742f496d616765732f4e6f6e2d5341524761626c655f446f65735f4e6f745f4765745f496e6465785f5265636f6d6d656e646174696f6e2e706e67
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#order-by-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#order-by-usage-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#specify-ascending-or-descending-for-order-by-clause-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-column-number-in-order-by-convention
Back to tophttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#top
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#execution-plan-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#query-parameterization-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#filter-a-nullable-column-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#data-existing-or-not-existing-or-in-or-not-in-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-percent-at-the-start-of-like-predicate-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#index-on-where-clause-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#index-on-in-columns-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-not-in-in-the-where-clause-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#converting-dates-to-string-to-compare-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-json-explicit-schema
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-json-performance
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-insert
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#transaction-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-transaction-convention
atomichttps://en.wikipedia.org/wiki/Atomicity_(database_systems)
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-set-xact_abort-on-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#here-is-a-basic-transaction-pattern
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#here-is-a-transaction-pattern-with-a-custom-throw-error
Not Using SET XACT_ABORT ONhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-set-xact_abort-on
Not Using BEGIN ENDhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-begin-end
Not Using Semicolon THROWhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-semicolon-throw
Using RAISERROR Instead of THROWhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-raiserror-instead-of-throw
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#implicit-transactions-convention
IMPLICIT_TRANSACTIONS ON not popularhttps://docs.microsoft.com/en-us/sql/t-sql/statements/set-implicit-transactions-transact-sql?view=sql-server-ver15#:~:text=IMPLICIT_TRANSACTIONS%20ON%20is%20not%20popular
Transaction locking and row versioning guidehttps://docs.microsoft.com/en-us/sql/relational-databases/sql-server-transaction-locking-and-row-versioning-guide
Implicit Transactionshttps://docs.microsoft.com/en-us/sql/relational-databases/sql-server-transaction-locking-and-row-versioning-guide?view=sql-server-ver15#:~:text=and%20DB%2DLibrary.-,Implicit%20Transactions,-When%20a%20connection
SET IMPLICIT_TRANSACTIONS ON Is One Hell of a Bad Ideahttps://www.brentozar.com/archive/2018/02/set-implicit_transactions-one-hell-bad-idea
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#upsert-pattern-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#use-this-upsert-pattern-when-a-record-update-is-more-likely
sp_CRUDGenhttps://github.com/kevinmartintech/sp_CRUDGen
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#use-this-upsert-pattern-to-allow-the-client-application-to-handle-the-exception
table-valued parameterhttps://docs.microsoft.com/en-us/sql/relational-databases/tables/use-table-valued-parameters-database-engine?view=sql-server-ver15
JSONhttps://docs.microsoft.com/en-us/sql/relational-databases/json/convert-json-data-to-rows-and-columns-with-openjson-sql-server?view=sql-server-ver15
XMLhttps://docs.microsoft.com/en-us/sql/t-sql/xml/nodes-method-xml-data-type?view=sql-server-ver15
comma-separated listhttps://docs.microsoft.com/en-us/sql/t-sql/functions/string-split-transact-sql?view=sql-server-ver15
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#this-upsert-pattern-can-be-problematic
What To Avoid If You Want To Use MERGEhttps://michaeljswart.com/2021/08/what-to-avoid-if-you-want-to-use-merge/#:~:text=So%20just%20to,MERGE
Use Caution with SQL Server's MERGE Statementhttps://www.mssqltips.com/sqlservertip/3074/use-caution-with-sql-servers-merge-statement/#:~:text=function%20as%20expected.-,Conclusion,-I%20am%20not
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#upsert-use-case-exception
Back to tophttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#top
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#cursor-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#cursor-overview
Using WHILE Loophttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-while-loop
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#cursor-valid-use-cases
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#cursor-type
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#full-cursor-syntax
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#while-loop-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#temporary-tables-and-table-variables-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#parameter-or-variable-data-type-matching-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#when-to-breakdown-complex-queries
When To Break Down Complex Querieshttps://docs.microsoft.com/en-us/archive/blogs/sqlcat/when-to-break-down-complex-queries
When To Break Down Complex Querieshttps://docs.microsoft.com/en-us/archive/blogs/sqlcat/when-to-break-down-complex-queries
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#breakdown-or-logic-in-the-where-clause
Problematic Use of ORhttps://docs.microsoft.com/en-us/archive/blogs/sqlcat/when-to-break-down-complex-queries#problematic-use-of-or
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#breakdown-aggregations-in-intermediate-results-sets
Query Anti-Pattern 2: Aggregations in Intermediate Result Setshttps://docs.microsoft.com/en-us/archive/blogs/sqlcat/when-to-break-down-complex-queries#:~:text=Query%20Anti%2DPattern%202%3A%20Aggregations%20in%20Intermediate%20Result%20Sets
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#breakdown-a-large-number-of-very-complex-joins
Other Query Types to Break Downhttps://docs.microsoft.com/en-us/archive/blogs/sqlcat/when-to-break-down-complex-queries#:~:text=A%20query%20with%20a%20large%20number%20of%20very%20complex%20joins
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#breakdown-a-case-clause-in-the-where-or-join-clause
Other Query Types to Break Downhttps://docs.microsoft.com/en-us/archive/blogs/sqlcat/when-to-break-down-complex-queries#:~:text=%C2%B7-,A%20CASE%20clause%20in%20the%20WHERE%20or%20JOIN%20clause,-This%20case%20refers
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#sql-injection-risk-convention
SQL Injectionhttps://docs.microsoft.com/en-us/sql/relational-databases/security/sql-injection
Using EXECUTEhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-execute
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#dynamic-search-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#dynamic-search-if-branches-are-not-a-viable-fix
Dynamic Search Conditions in T‑SQLhttp://www.sommarskog.se/dyn-search-2008.html
sp_CRUDGenhttps://github.com/kevinmartintech/sp_CRUDGen
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#range-instead-of-rows-convention
What is the Difference between ROWS and RANGE?https://auntkathisql.com/2014/09/27/what-is-the-difference-between-rows-and-range
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#common-table-expression-cte-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#join-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#correlated-subqueries-instead-of-joins-convention
SQL Server Uncorrelated and Correlated Subqueryhttps://www.mssqltips.com/sqlservertip/6037/sql-server-uncorrelated-and-correlated-subquery/
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#mixed-data-types-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/.attachments/Mixing_Data_Types_in_JOIN_or_WHERE_Clauses-7173be1c-f67e-4d0d-af23-1a42eefc7865.png
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#formatting-conventions
Team Collapsedhttps://github.com/EmergentSoftware/SQL-Server-Development-Assessment/tree/master/Development%20Application%20Settings/Red%20Gate/SQL%20Prompt/Styles
Team Expandedhttps://github.com/EmergentSoftware/SQL-Server-Development-Assessment/tree/master/Development%20Application%20Settings/Red%20Gate/SQL%20Prompt/Styles
RedGate SQL Server Prompthttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/development-app-settings#redgate-sql-server-prompt
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#semicolon-to-terminate-statements-convention
See Microsoft Docshttps://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-version-15?view=sql-server-ver15#:~:text=For%20new%20development%20work%2C%20do%20not%20use%20deprecated%20features.%20For%20existing%20aplications%2C%20plan%20to%20modify%20applications%20that%20currently%20use%20these%20features%20as%20soon%20as%20possible.
Using Deprecated or Discontinued Featurehttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-deprecated-or-discontinued-feature
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-brackets-convention
Removing the Square Bracket Decorations with SQL Prompthttps://www.red-gate.com/hub/product-learning/sql-prompt/removing-the-square-bracket-decorations-with-sql-prompt
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#converting-to-unicode-convention
Using a Non-SARGable Expression in a WHERE Clausehttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-a-non-sargable-expression-in-a-where-clause
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#keyword-abbreviation-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#function-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#scalar-function-convention
Inlineable scalar UDFs requirementshttps://docs.microsoft.com/en-us/sql/relational-databases/user-defined-functions/scalar-udf-inlining?view=sql-server-ver15#inlineable-scalar-udfs-requirements
Refactor SQL Server scalar UDF to inline TVF to improve performancehttps://www.mssqltips.com/sqlservertip/4772/refactor-sql-server-scalar-udf-to-inline-tvf-to-improve-performance/
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#scalar-function-not-inlineable-convention
Inlineable scalar UDFs requirementshttps://docs.microsoft.com/en-us/sql/relational-databases/user-defined-functions/scalar-udf-inlining?view=sql-server-ver15#inlineable-scalar-udfs-requirements
05c Blueprint Functions Scalar Function Rewrites Demo video by Erik Darlinghttps://www.erikdarlingdata.com/sql-server/software-vendor-mistakes-with-sql-server-not-using-inline-table-valued-functions/?mc_cid=e0205e6bac&mc_eid=90079896ec#:~:text=In%20the%20videos%20below%2C%20I%E2%80%99m%20going%20to%20show%20you%20how%20to%20rewrite%20T%2DSQL%20Scalar%20User%20Defined%20Functions%2C%20and%20a%20really%20cool%20thing%20they%20can%20do%20on%20top%20of%20just%20replacing%20the%20bad%20kinds%20of%20functions.
Inlineable scalar UDFs requirementshttps://docs.microsoft.com/en-us/sql/relational-databases/user-defined-functions/scalar-udf-inlining?view=sql-server-ver15#inlineable-scalar-udfs-requirements
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#isnumeric-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#coalesce-vs-isnull-convention
Microsoft Docs: Comparing COALESCE and ISNULLhttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/coalesce-transact-sql?view=sql-server-ver15#comparing-coalesce-and-isnull
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#string-trim-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#execute-t-sql-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#find-the-length-of-a-string-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#string-comparing-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#parentheses-use-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-setting-the-nocount-option
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-code-commenting
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-unicode-vs-non-unicode-data-types
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-data-access-and-transactions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#error-handling-conventions
New applications should use the THROW methodologieshttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/raiserror-transact-sql?redirectedfrom=MSDN#:~:text=New%20applications%20should%20use%20THROW%20instead.
Using RAISERROR Instead of THROWhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-raiserror-instead-of-throw
Not Using Transactionshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-transactions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#throw-methodology-dbotestthrow
THROWhttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/throw-transact-sql
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#return-code-methodology-dbotestreturncode
RETURNhttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/return-transact-sql
RAISERRORhttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/raiserror-transact-sql
Using RAISERROR Instead of THROWhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-raiserror-instead-of-throw
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#output-parameter-methodology-dbotestreturncodeparameter
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#raiserror-methodology-dbotestraiserror
New applications should use THROW instead of RAISERRORhttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/raiserror-transact-sql?redirectedfrom=MSDN#:~:text=New%20applications%20should%20use%20THROW%20instead.
Using RAISERROR Instead of THROWhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#using-raiserror-instead-of-throw
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#using-raiserror-instead-of-throw
New applications should use THROW instead of RAISERRORhttps://docs.microsoft.com/en-us/sql/t-sql/language-elements/raiserror-transact-sql?redirectedfrom=MSDN#:~:text=New%20applications%20should%20use%20THROW%20instead.
Not Using SET XACT_ABORT ONhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-set-xact_abort-on
Not Using Transactionshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-transactions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#throw-formating-convention
Not Using BEGIN ENDhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-begin-end
Not Using Semicolon to Terminate Statementshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/SQL-Server-Development-Assessment/best-practices-and-potential-findings/sql-code-conventions#not-using-semicolon-to-terminate-statements
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-foreign-key-and-check-constraints
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#todo-parameter-sniffing
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#execution-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#calculated-total-or-balance-value-for-a-result-set
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/.attachments/image-d8aa5f26-05c8-4185-a0b0-bc43143468d3.png
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#calculated-total-or-balance-value-for-a-search-parameter
transaction processing (OLTP)https://learn.microsoft.com/en-us/azure/architecture/data-guide/relational-data/online-transaction-processing
analytical processing (OLAP)https://learn.microsoft.com/en-us/azure/architecture/data-guide/relational-data/online-analytical-processing
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/.attachments/image-642c0f11-6ac7-46dd-a0d6-1dc5c42a0184.png
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/.attachments/image-7983c310-025c-443d-8e11-849a673214de.png
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/.attachments/image-8413e0d2-1fc4-4160-8e7e-2f43da422b5d.png
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/.attachments/image-5a9a8a78-71f4-47c0-8ded-9fae43ebbe83.png
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/blob/main/.attachments/image-a85076d1-c5dc-4d1f-bbe6-08d8cd312ff6.png
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#data-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#data-encryption-convention
personal datahttps://en.wikipedia.org/wiki/Personal_data
PIIhttps://en.wikipedia.org/wiki/PII
PHIhttps://en.wikipedia.org/wiki/Protected_health_information
SQL Server Always Encrypthttps://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine
SQL Server Transparent Data Encryption (TDE)https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/transparent-data-encryption
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#placeholder-rows-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#configuration-conventions
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#database-and-database-object-collation-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#connection-string-convention
Specifying Application Intenthttps://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#specifying-application-intent
Connecting With MultiSubnetFailoverhttps://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#connecting-with-multisubnetfailover
Specifying Application Intenthttps://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#specifying-application-intent
Connecting With MultiSubnetFailoverhttps://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#connecting-with-multisubnetfailover
Specifying Application Intenthttps://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#specifying-application-intent
Connecting With MultiSubnetFailoverhttps://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery#connecting-with-multisubnetfailover
Not Using Code Retry Logic for Transient Errorshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#code-retry-logic-for-transient-errors-convention
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#code-retry-logic-for-transient-errors-convention
.NET SqlConnection parameters for connection retryhttps://docs.microsoft.com/en-us/azure/azure-sql/database/troubleshoot-common-connectivity-issues#net-sqlconnection-parameters-for-connection-retry
Troubleshoot transient connection errors in SQL Database and SQL Managed Instancehttps://docs.microsoft.com/en-us/azure/azure-sql/database/troubleshoot-common-connectivity-issues
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#contained-database-user-convention
Contained Database Users - Making Your Database Portablehttps://docs.microsoft.com/en-us/sql/relational-databases/security/contained-database-users-making-your-database-portable?view=sql-server-ver15
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#application-user-role-convention
Principle of least privilegehttps://en.wikipedia.org/wiki/Principle_of_least_privilege
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#query-execution-defaults-convention
Considerations When You Use the SET Statementhttps://docs.microsoft.com/en-us/sql/t-sql/statements/set-statements-transact-sql#considerations-when-you-use-the-set-statements
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#ssms-sql-server-management-studio-and-visual-studio-settings
https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#visual-studio-database-projects
SET Statementshttps://docs.microsoft.com/en-us/sql/t-sql/statements/set-statements-transact-sql
SET ANSI_DEFAULTS (Transact-SQL)https://docs.microsoft.com/en-us/sql/t-sql/statements/set-ansi-defaults-transact-sql
Readme https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/SQLauto/DBBestPractices#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices
Activityhttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/activity
Custom propertieshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/custom-properties
0 starshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/watchers
0 forkshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FSQLauto%2FDBBestPractices&report=SQLauto+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/SQLauto/DBBestPractices/releases
Packages 0https://patch-diff.githubusercontent.com/orgs/SQLauto/packages?repo_name=DBBestPractices
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.