SQL Server 2008 lets you copy database with data: turn on Script Data in the Generate Scripts wizard to get INSERT statements for the rows in your tables.
XQuery string-length: Count Content Without Markup
XQuery string-length counts the selected element string value. Seven bounded cases separate content from markup, empty elements from missing elements, and missing XML from existing documents.
Finding Duplicates Before Adding a Unique Constraint
A unique constraint fails on the first duplicate it meets and tells you about only one. Here is how to list them all and clean up safely.
Full-Text Search Basics
Full-text search basics explains catalogs, full-text indexes, CONTAINS, and LIKE so SQL Server searches match the question and the data.
How to Patch SQL Server Without a Bad Morning
Before you patch SQL Server, check backups, plan replica and cluster sequencing, record builds, and prepare a tested recovery path.
SQL SERVER – Maximizing View of SQL Server Management Studio – Full Screen – New Screen
Two ways to get more room in SQL Server Management Studio: show results in a separate tab and switch SSMS to full screen, from my TechEd India 2009 demo.
geometry STBoundary: A Polygon Edge Is a Different Shape
geometry STBoundary returns the edge of a shape as another geometry instance. I inspect that result independently from the source. A polygon’s boundary is not another filled polygon with the same area.







