External Article

SQL Server Unique Constraints for Large Text Columns

We are storing large text and URLs that are over 900 bytes in some of our tables and have a requirement to enforce uniqueness in those columns. But SQL Server has a limitation that index size can't be over 900 bytes. How do I enforce uniqueness in these columns and is it possible to achieve this in SQL Server 2005 and above? What are my different options to solve this problem? I heard that we can use CHECKSUM to create a hash, but is it possible to avoid collisions in the hash value as we are storing millions of rows?

Blogs

T-SQL Tuesday #198 Invitation: How Do You Detect Data Changes?

By

It's time for T-SQL Tuesday #198! This month's topic is change detection. The post T-SQL...

Understanding Fabric MCP

By

Model Context Protocol, or MCP, is one of those technical ideas that sounds more...

AWS RDS Aurora - our first approach

By

When starting with AWS RDS Aurora for managing relational databases in the cloud, many...

Read the latest Blogs

Forums

BCA KCU KALIMALANG HUB.Tlpn.0821•3111•185

By greatdubai02

BCA KCU KALIMALANG HUB.Tlpn.0821•3111•185 Jl. Tarum Barat Blk. E No.5, Wil. Kota, Kec. Duren...

BCA KCP Kapuk Muara Call CSO; (+62 821°3111°179

By Resultsimagery

Jl. Duta Harapan Indah Jl. Kapuk Muara Raya No.33 Blok K.32, Kapuk Muara, Kecamatan...

Tips hubungi ( CS ) Call center Lion Air Indonesia

By maci125

Call Center Lion Air Indonesia (24Jam) Bisa Menghubungi Official Lion Air Indonesia (0821-7007-002) Hubungi...

Visit the forum

Question of the Day

May the Fourth Be With You Fun

In honor of May the fourth and Star Wars (may the force be with you), finish this quote:

"Do, or do not.  ..."

See possible answers