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
SQL SERVER - TRIM() Function - UDF TRIM()

SQL SERVER – TRIM() Function – UDF TRIM()

April 24, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Scripts

SQL Server 2005 has LTRIM() and RTRIM() but no TRIM() function, so I wrote a simple UDF for SQL Server 2000 and 2005 that trims both sides. Video included.

Read More
SQL SERVER - Six Properties of Relational Tables

SQL SERVER – Six Properties of Relational Tables

April 24, 2007
Pinal Dave
SQL Tips and Tricks

The six properties of relational tables explained: atomic values, values of the same kind, unique rows and more, with the benefit of each one.

Read More
SQL SERVER - 2005 Collation Explanation and Translation

SQL SERVER – 2005 Collation Explanation and Translation

April 24, 2007
Pinal Dave
SQL Tips and Tricks
SQL Collation

How to read a SQL Server 2005 Collation name like Latin1_General_CI_AS, check which collation you have, and avoid collation conflict errors.

Read More
Two brass funnels resting in slate and ivory ceramic vessels.

IIF and CASE: Control Return Types and Use Typed NULL Values

April 23, 2007
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Function, SQL Scripts, SQL Server

IIF and CASE choose result values, but their branches also define a shared return type. I make that type explicit when mixed inputs could surprise the reader. Typed NULL values help describe the same output contract.

Read More
SQL SERVER - Query to Find Seed Values, Increment Values and Current Identity Column value of the table

SQL SERVER – Query to Find Seed Values, Increment Values and Current Identity Column value of the table

April 23, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Identity, SQL Index, SQL Scripts, SQL Server, SQL System Table

A query to list every identity column with its seed, increment and current value, plus what those numbers mean and how to reseed a table safely.

Read More
An open card index drawer with one card lifted, a second smaller card paper-clipped behind it.

SQL SERVER – Understanding new Index Type of SQL Server 2005 Included Column Index along with Clustered Index and Non-clustered Index

April 23, 2007
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts, SQL Server

Clustered index and non-clustered index compared: how many you can have, how each stores data, and where the SQL Server 2005 included column index fits.

Read More
SQL SERVER - Raid Configuration - RAID 10

SQL SERVER – Raid Configuration – RAID 10

April 22, 2007
Pinal Dave
SQL Performance
Database, SQL Data Storage, SQL Utility

Which RAID do I use for my SQL Servers? RAID 10. It gives great read and write performance, while RAID 5 pays a write penalty for parity.

Read More
Previous 1 … 828 829 830 831 832 833 834 … 842 Next
  • Books
  • Testimonials
  • Privacy Policy

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