SQL Style Guide
Tables Name
USE NorthWind
GO
CREATE TABLE dbo.staff (
staff_id INT IDENTITY(1,1),
first_name NVARCHAR(50) NOT NULL,
last_name NVARCHAR(50) NOT NULL,
dob DATETIME NULL
)Columns
Reserved Words
Aliasing
Left Align Root Keywords and Code Blocks
Line Spacing
Parentheses
JOIN Queries
Nested Queries
References
Last updated