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
Blue and terracotta ceramic beads beside an open wooden case containing a green bead.

geometry STAsText: Z and M Values Need a Different Export

May 20, 2011
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function, SQL Scripts, SQL Server

geometry STAsText returns spatial text without the Z and M values carried by an instance. I compare it with ToString using two points. Identical XY text can hide a difference in the original payload.

Read More
A fitted brass key engages the archive door lock while another key remains unused.

SQL SERVER – Connecting to Server Using Windows Authentication by SQLCMD

May 19, 2011
Pinal Dave
SQL Video
SQL Scripts, SQL Server, SQL Utility, sqlcmd

Windows Authentication by SQLCMD uses the current Windows identity with -E. It does not need a Windows password in the command.

Read More
Service Logon Failure (ObjectExplorer) dialog box.

SQL SERVER – FIX – ERROR – Service Logon Failure (ObjectExplorer)

May 18, 2011
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts

Service Logon Failure (ObjectExplorer) stopped my SQL Server Agent from starting. My password had changed, so updating it in the service fixed it.

Read More
A rich locksmith bench separates distinctive brass keys from removable ceramic labels.

External Profiles: Keep Email Out of the Key

May 17, 2011
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server

External profiles need a stable scoped identity key. Keep mutable email values separate and reject duplicate identities.

Read More
A hand holding a long cinnamon stick against a short glass spice vial that it clearly does not fit.

Checking Data Fits Before Narrowing a Column Data Type

May 16, 2011
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Datatype, SQL Server, SQL Table Operation

Check existing values before narrowing a column, account for dependencies and data loss, and plan the locking cost of the change.

Read More
SQL SERVER - Attending MVP Open Day - May 2011

SQL SERVER – Attending MVP Open Day – May 2011

May 15, 2011
Pinal Dave
SQL Tips and Tricks
MVP

I am attending MVP Open Day again, May 19 to 22, 2011. Here are my tips to get the most out of this event for Asia Pacific and Greater China MVPs.

Read More
Three ceramic bowls hold wooden sticks beside a loose pile on an ochre workbench.

Whole Unit Allocation: Keep a Proportional Split Exact

May 14, 2011
Pinal Dave
SQL Tips and Tricks
Mathematical Function, Ranking Functions, SQL Scripts, SQL Server

Whole unit allocation keeps a fixed budget intact. I’d calculate base shares first, then distribute residual units using a stable tie rule. Check equal weights, a zero budget and zero-weight members.

Read More
Previous 1 … 592 593 594 595 596 597 598 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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