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 Management Studio Execution Plan.

SQL SERVER – Find All Servers From Local Network – Using sqlcmd – Detect Installed SQL Server on Network

March 18, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Utility, sqlcmd

Find every SQL Server on network with one command: sqlcmd -L or osql -L lists the instances on your local network. An update to my old isql script.

Read More
Sql server query plan cache.

SQL SERVER – Practical SQL Server XML: Part One – Query Plan Cache and Cost of Operations in the Cache

March 17, 2009
Pinal Dave
SQL Performance
Database, SQL Scripts, SQL Utility, SQL XML

A guest post from Michael Coles, author of Pro SQL Server 2008 XML: a practical XML demo that looks at the query plan cache and the cost of cached operations.

Read More
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
Four places at a wooden table, with cake at two ribbon-marked cards and a hand lowering the second plate.

LEFT JOIN ON Clause: Conditions Decide Matches, Not Rows

March 15, 2009
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL NULL, SQL Scripts

Why a condition in ON keeps every customer, why a left-side condition removes nobody, and how one WHERE quietly undoes two LEFT JOINs.

Read More
An open brass cash drawer holds undisturbed coin stacks as a shop shutter is lowered.

End-of-Day Balances From a Transaction Table

March 11, 2009
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, Temp Table

A transaction table stores movements, not balances. Collapse each day, run a total, fill the quiet days and dodge the midnight trap.

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
SQL SERVER - 2008 - Find Relationship of Foreign Key and Primary Key using T-SQL - Find Tables With Foreign Key Constraint in Database

SQL SERVER – 2008 – Find Relationship of Foreign Key and Primary Key using T-SQL – Find Tables With Foreign Key Constraint in Database

February 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

A T-SQL script that finds every table with a foreign key constraint and shows how each foreign key relates to its primary key, now with schema names.

Read More
Previous 1 … 289 290 291 292 293 294 295 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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