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.
SQL SERVER – Connecting to Server Using Windows Authentication by SQLCMD
Windows Authentication by SQLCMD uses the current Windows identity with -E. It does not need a Windows password in the command.
External Profiles: Keep Email Out of the Key
External profiles need a stable scoped identity key. Keep mutable email values separate and reject duplicate identities.
Checking Data Fits Before Narrowing a Column Data Type
Check existing values before narrowing a column, account for dependencies and data loss, and plan the locking cost of the change.
SQL SERVER – Attending MVP Open Day – May 2011
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.
Whole Unit Allocation: Keep a Proportional Split Exact
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.






