Click here to Skip to main content
6,291,124 members and growing! (17,548 online)
Email Password   helpLost your password?
Development Lifecycle » Design and Architecture » General     Beginner License: The Code Project Open License (CPOL)

T-SQL Coding Standard

By Casper Leon Nielsen

T-SQL Coding Standard - for programming the Microsoft Sql Server 2005 (DRAFT)
SQL, Windows, .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5), Win32, Win64, SQL Server (SQL 2000, SQL 2005, SQL CE), Visual Studio, ADO.NET, Architect, DBA, Dev, QA
Posted:21 Sep 2006
Updated:1 Oct 2008
Views:31,653
Bookmarked:14 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
14 votes for this article.
Popularity: 2.18 Rating: 1.90 out of 5
9 votes, 64.3%
1

2
1 vote, 7.1%
3
1 vote, 7.1%
4
3 votes, 21.4%
5

Download T-SQL Coding Standard Document

T-SQL Coding Standard.

 

I am currently working on a T-SQL coding standard to formalize our work. Having been inspired by the IDesign C# Coding Standard I made this T-SQL Coding Standard Document. Maybe this will have some value for the community. It is work in progress and I intend to update it as my experience with its implementation continues.

Unfortunately I wrote the document in Word using loads of formatting and codeprojects editor cannot display the document directly. Instead I leave the document here in a zip for download.

When the document have matured some more I will reformat it in HTML and modify this article.

Casper Leon Nielsen - 21. sep 2006. [modified 1st october 2008)

Download T-SQL Coding Standard Document

 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Casper Leon Nielsen


Member
Casper Leon Nielsen is a MCP/MCAD and is currently employed by HelloGroup a/s - a technical savy (yes that whats they are calling it these days) company.
Occupation: Architect
Company: HelloGroup
Location: Denmark Denmark

Other popular Design and Architecture articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 23 of 23 (Total in Forum: 23) (Refresh)FirstPrevNext
GeneralAny Update? Pinmemberjhigaki7:06 9 Jul '08  
GeneralRe: Any Update? PinmemberCasper Leon Nielsen0:21 1 Oct '08  
GeneralTable Naming - Statement Formatting PinmemberAhmed_Barakat7:16 31 Jan '08  
GeneralRe: Table Naming - Statement Formatting PinmemberCasper Leon Nielsen0:19 1 Oct '08  
GeneralNOLOCK? PinmemberRhodesie7:33 28 Sep '06  
GeneralRe: NOLOCK? PinmemberCasper Leon Nielsen0:12 29 Sep '06  
GeneralRe: NOLOCK? PinmemberCasper Leon Nielsen1:29 29 Sep '06  
GeneralRe: NOLOCK? PinmemberRhodesie23:59 1 Oct '06  
Generalderived tables PinmemberCasper Leon Nielsen0:15 29 Sep '06  
GeneralDiscussion on joelonsoftware PinmemberCasper Leon Nielsen11:50 24 Sep '06  
Generalprefixing stored procedures with sp_ is bad practice PinmemberKinStephen14:13 21 Sep '06  
AnswerAnd the standard says you shouldnt PinmemberCasper Leon Nielsen21:53 21 Sep '06  
GeneralRe: And the standard says you shouldnt PinmemberKinStephen8:21 22 Sep '06  
AnswerConclusion [modified] PinmemberCasper Leon Nielsen9:33 22 Sep '06  
GeneralRe: Conclusion PinmemberKinStephen12:28 22 Sep '06  
GeneralWhy not... PinmemberColin Angus Mackay4:41 21 Sep '06  
AnswerRe: Why not... PinmemberCasper Leon Nielsen4:57 21 Sep '06  
GeneralAvoid using the blob type - NOT Pinmember__alias4:24 21 Sep '06  
QuestionRe: Avoid using the blob type - NOT PinmemberCasper Leon Nielsen4:34 21 Sep '06  
AnswerRe: Avoid using the blob type - NOT Pinmember__alias11:14 21 Sep '06  
GeneralRe: Avoid using the blob type - NOT PinmemberCasper Leon Nielsen0:53 22 Sep '06  
GeneralRe: Avoid using the blob type - NOT PinmemberCasper Leon Nielsen1:38 22 Sep '06  
GeneralRe: Avoid using the blob type - NOT Pinmember__alias3:28 22 Sep '06  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 1 Oct 2008
Editor:
Copyright 2006 by Casper Leon Nielsen
Everything else Copyright © CodeProject, 1999-2009
Web11 | Advertise on the Code Project