This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Table with columns and rows.

SQL SERVER – Enumerations in Relational Database – Best Practice

March 22, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, DBA, Software Development, SQL Documentation

Marko Parkkola from Finland shares a best practice for enumerations in relational database design: the right way to store them and one clearly wrong way.

Read More
A plain wooden sorting box with separate compartments and a brass latch on a softly lit table.

SQL Injection: How It Works and How to Stop It

March 10, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Security

Prevent SQL injection by separating values from command text, parameterizing dynamic SQL, and validating object names before using QUOTENAME.

Read More
A cardboard model house beside an empty plot where string lines and stakes mark out rooms in the grass.

Modeling Data Before Writing Tables

March 6, 2010
Pinal Dave
SQL Tips and Tricks
Database, Normalization, Primary Key, SQL Constraint and Keys

Modeling data before tables clarifies entities, relationships, keys, and grain so schema changes do not discover the rules too late.

Read More
Insert alogn with Top (N)

SQL SERVER – INSERT TOP (N) INTO Table – Using Top with INSERT

February 27, 2010
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts

INSERT TOP (N) INTO a table is not the same as INSERT with SELECT TOP (N). My example from a client training shows how the two methods differ.

Read More
A small closed toolbox sits beside a plain flashlight on a quiet workshop bench.

The First Hour on a Server Nobody Can Explain

January 26, 2010
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Investigate a slow SQL Server in a fixed order, checking connectivity, blocking, waits, plans, and storage before changing the environment.

Read More
SQL Server version info.

SQL SERVER – Get Server Version and Additional Info

January 17, 2010
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Utility

Most people check the SQL Server version with @@VERSION. I also like xp_msver, which shows extra details about the server where SQL Server is installed.

Read More
SQLAuthority News - 1200th Post - An Important Milestone

SQLAuthority News – 1200th Post – An Important Milestone

December 31, 2009
Pinal Dave
SQLAuthority News
Database, DBA, MVP

My 1200th post, on the last day of 2009, looks back at a wonderful year and lists my top 7 community and personal events in the order they happened.

Read More
Previous 1 … 28 29 30 31 32 33 34 … 52 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com