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
zero

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

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

SQL SERVER – UDF – Pad Ride Side of Number with 0 – Fixed Width Number Display. Let us learn more about this blog.

Read More
An open wooden specimen case holds cylinders, small blocks and polished stone spheres in separate compartments.

NULLIF Text: Collation Decides Whether Values Match

March 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Function, SQL Server

NULLIF text comparisons can remove a matching value. Select the matching rule explicitly and preserve the first expression’s return contract.

Read More
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
Movers measuring a narrow doorway before carrying a red sofa through

Reviewing a Table Change Script Before It Locks Production

February 18, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Lock, SQL Server, SQL Table Operation

Review a table change script for schema locks, data rewrites, supported online options, backfill batches, and a tested rollback.

Read More
SQL SERVER - List All Server Wide Configurations Values

SQL SERVER – List All Server Wide Configurations Values

February 16, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure, SQL System Table

I forgot the syntax to check the two digit year cutoff, so I listed all Server Wide Configurations with sys.configurations. A small script worth saving.

Read More
SQL SERVER - Simple Example of Creating XML File Using T-SQL

SQL SERVER – Simple Example of Creating XML File Using T-SQL

February 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL XML

I always want to learn SQL Server and XML file. Let us go over a very simple example, today about how to create XML using SQL Server.

Read More
Previous 1 … 364 365 366 367 368 369 370 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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