Articles

External Article

Clean unused space when a variable-length column is dropped from a SQL Server table or indexed view

Whenever rows or columns are deleted from a table, SQL Server reuses space to accommodate new data. However, this is not the case when a variable length column is deleted. The space used by this type of column is not reclaimed automatically. Variable length columns can be of data types varchar, nvarchar, varchar(max), nvarchar(max), varbinary, varbinary(max), text, ntext, image, sql_variant, and xml. In this tip, I have tried to put forth a solution to reclaim this space and this should work for SQL 2005 and later versions.

2011-04-18

3,911 reads

Technical Article

SQL Transparent Hierarchical Processing of Relational, XML and IMS Data

The SQL-92 standard introduced the LEFT Outer Join operation which offers a powerful alternative to standard relational processing to perform full hierarchical processing naturally and inherently. This enables SQL to transparently integrate relational data with XML, IMS and other forms of legacy hierarchical data. This can also allow the so far overlooked integration of IMS and legacy data with the Internet and XML, and visa versa.

2011-04-15

3,437 reads

External Article

Send email in a tabular format using SQL Server database mail

Some of our SQL Servers contain tables with summarized data (summarized on a weekly / monthly / quarterly basis). Previously this data was emailed as a flat file attachment to the recipients. I was asked to convert this in such a way that the email itself contains the table data. This way the recipients would be able to look at the data in a tabular format, making it easier for readability. Hence we arrived at the question of how to send email from SQL Server with data in a tabular format.

2011-04-12

5,799 reads

Blogs

VPN + SQL Server Connections: Why Long-Working Setups Suddenly Fail with Msg 10054 and “Connection Broken”

By

Over the past few weeks, I’ve been contacted by multiple customers experiencing the same...

Future IT Roles – Agentic Architect and AI Boom!!

By

These days everything is changing to AI World, IT roles are getting changed and...

Free Webinar about Columnstore Indexes

By

I’m doing a small series on indexing basics for SQL Server, and on May...

Read the latest Blogs

Forums

BCA KCP Kelapa Gading Villa TLP/WA 08218573837

By Quay thu XSMN hôm nay - quay thu MN - KETQUA.TV

Jl. Boulevard Bar. Raya No.52 Blok LC No. 51, Klp. Gading Bar., Kec. Klp....

BCA KCP Shibuya - PIK 2 TLP/WA 08216977749

By ASAPRoofing

Rukan Shibuya Blok STB No. 033 dan 035, Jl. Pantai Indah Kapuk No.2, Kabupaten...

BCA KCP Buaran Raya Hub.0853°5504°2311

By vitaminaal

BCA KCP Buaran Raya hub.0853°5504°2311 Jl. Buaran Raya Blok A No. 100, RT.6/RW.dan 101,...

Visit the forum

Question of the Day

SSoL Support on the OS

On which Linux versions is SQL Server 2025 on Linux supported?

See possible answers