I’ve seen and written too much stuff that violates these rules. Click the link after “Via” for the full article…
- Add a Low Privilege Account to the Admin Role
- @@IDENTITY vs. SCOPE_IDENTITY
- Fetch Semi-static Data on Each Request of a Resource
- Include SQL Data Manipulation Language in Application Code
- Abuse SELECT *
- Create Stored Procedures without Exception Handling
- Prefix Stored Procedures with “sp_”
- You Don’t Protect the Database Connection String
- Accept All Input
- Access the Database from the Application with the “sa” Account
[Via dotnet junkies]