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 - Logins.

SQL SERVER 2005 – FIX Error: 18456 : VISTA Windows Authentication

May 6, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Security, Vista

My Vista Windows Authentication login failed with Error 18456 after installing SQL Server 2005, while sa worked. Adding my login as administrator fixed it.

Read More
SQL SERVER - Find Table in Every Database of SQL Server - Part 2 Extension

SQL SERVER – Find Table in Every Database of SQL Server – Part 2 Extension

May 5, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, Undocumented SQL

Two more ways from Simon Worth to find table in every database of SQL Server, both built on sp_msforeachdb, one saving results to a temp table.

Read More
A curved brass strip over a straight ivory bar between dark wooden end blocks, beside two ochre stones.

ACOS: Check the Cosine Domain Before Calculating Angles

May 4, 2008
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL Server

ACOS calculates an angle from a supported cosine ratio. Keep invalid and missing inputs visible while displaying valid radians at a chosen scale.

Read More
Five rectangular ceramic dishes tied with a sage ribbon on a wooden shelf.

PERCENT_RANK Versus CUME_DIST: What Ties Change

May 3, 2008
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Server

PERCENT_RANK versus CUME_DIST answers different ranking questions. Keep peers intact and compare missing scores and singleton groups.

Read More
A damaged cream pottery bowl and its detached rim fragment sit beside an intact empty bowl on a worktable.

NOT and NULL: Unknown Does Not Become True

May 2, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

NOT and NULL do not create a complete two-way classification. State whether missing values belong in a filter or a separate reporting category.

Read More
Hands finishing a small, neat fishing fly at a vise, with unused feathers pushed aside in a tray.

Writing a Good Technical Blog Post

May 1, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Blogging, SQL Documentation, SQL Server

A technical blog post works when it solves one problem with tested code, clear assumptions, a readable result, and honest limits.

Read More
SQL SERVER - Find Table in Every Database of SQL Server - Part 2

SQL SERVER – Find Table in Every Database of SQL Server – Part 2

April 30, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

Part 2 of how to find a table in every database of SQL Server: this stored procedure loops through sys.databases and reads the Information_Schema view.

Read More
SQL SERVER - Find Table in Every Database of SQL Server

SQL SERVER – Find Table in Every Database of SQL Server

April 29, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

sys.tables only searches one database. My quick stored procedure finds a table in every database on the server and returns database, schema and table name.

Read More
A library card catalogue drawer pulled open beside a long shelf of books

What Is an Index in SQL Server?

April 28, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

An index in SQL Server took one query from 33,517 reads to 66 on the same table. What clustered and nonclustered really mean, why every index is paid for on the way in, and how to find the ones nobody uses.

Read More
Gouache painting: a long tan leather strap lies straight across a workbench with two brass studs a short gap apart near its middle

CHARINDEX Start Position: Find the Second Delimiter

April 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

CHARINDEX start position finds the next delimiter. Guard a missing first match, preserve NULL, and extract empty fields without negative lengths.

Read More
Previous 1 … 531 532 533 534 535 536 537 … 589 Next
  • Books
  • Testimonials
  • Privacy Policy

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