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 - Pad Ride Side of Number with 0 - Fixed Width Number Display

SQL SERVER – Pad Right Side of Number with 0 – Fixed Width Number Display

March 10, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Function, SQL Scripts, SQL Server, SQL Utility

A reader needed a fixed width number display, like 1 shown as 0000001. SQL Server has no ready-made function, but a simple string trick does it.

Read More
Two matching glass pitchers contain water at different levels on a quiet kitchen counter.

When SSMS and Your Application Return Different Results

February 22, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Investigate SSMS different results by comparing connections, parameters, session options, transactions, and plans against the application.

Read More
SQL SERVER - Reasons to Backup Master Database - Why Should Master Database Backedup

SQL SERVER – Reasons to Backup Master Database – Why Should Master Database Backedup

February 15, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Backup and Restore, SQL Data Storage, SQL Server Security, SQL Utility

Why should you backup master database? It holds all logins, system configuration and the details SQL Server needs to reach every other database.

Read More
Three short plain cords with different simple metal connectors arranged neatly on a wooden tabletop.

Connecting to SQL Server From Java, Python and .NET

January 27, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Choose a SQL Server driver for Java, Python, or .NET, then verify encryption, authentication, pooling, and the application's connection.

Read More
SQL SERVER - 2008 - 2005 - Find Longest Running Query - TSQL - Part 2

SQL SERVER – 2008 – 2005 – Find Longest Running Query – TSQL – Part 2

January 23, 2009
Pinal Dave
SQL Performance
Best Practices, SQL Scripts, SQL Server DBCC, SQL System Table

An updated script to find the longest running query in SQL Server 2005 and 2008, with the divide by zero error fixed and time now shown in milliseconds.

Read More
SQL SERVER - Rules for Optimizining Any Query - Best Practices for Query Optimization

SQL SERVER – Rules for Optimizining Any Query – Best Practices for Query Optimization

January 20, 2009
Pinal Dave
SQL Performance
Best Practices, SQL Scripts

My quick rules for query optimization: a primary key, a clustered index, the right non-clustered indexes, fewer views and triggers, and other simple checks.

Read More
Two stone houses across a narrow lane joined by a covered footbridge, the far door slightly open.

Securing Linked Servers

January 19, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Linked Server, SQL Login, SQL Server Security

Securing linked servers requires explicit login mappings, limited RPC settings, remote privilege checks, and dependency ownership.

Read More
Previous 1 … 37 38 39 40 41 42 43 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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