Unique constraint

External Article

Declarative SQL: Using UNIQUE Constraints

  • Article

In SQL, you can express the logic of what you want to accomplish without spelling out the details of how the database should do it. Nowhere is this more powerful than in constraints. SQL is declarative, and Joe Celko demonstrates, in his introduction to Declarative SQL, how you can write portable code that performs well and executes some complex logic, merely by creating unique constraints.

2015-12-29

6,430 reads

Blogs

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

By

Thank you to everyone who participated in T-SQL Tuesday #198! When I wrote the...

Optimizing Redshift Performance by Configuring WLM Queues

By

Efficient query performance in Amazon Redshift often comes down to how well you manage...

PowerShell Strikes Back: Return of the Loop

By

Welcome back to PowerShell Strikes Back. We’re three weeks in, and the training is...

Read the latest Blogs

Forums

BCA KCU MUARA KARANG No.Telpon 087781685647

By ricardooliveira

Whatsapp 087781685647 Jl. Muara Karang Timur, Blok B VIII No.116-117, RT.6/RW.12, Pluit, Kecamatan Penjaringan,...

BCA KCU MENARA BIDAKARA No.Telpon 087781685647

By ricardooliveira

Whatsapp 087781685647 Jl. Gatot Subroto No.Kav.71-73 Lt. Lobby dan Lt. 1, RT.1/RW.1, Menteng Dalam,...

BCA KCU PLUIT No.Telpon 087781685647

By ricardooliveira

Whatsapp 087781685647 Landmark Pluit, Jl. Pluit Selatan Raya Blok A8, RT.8/RW.10, Pluit, Penjaringan, North...

Visit the forum

Question of the Day

QUOTENAME Quote Parameters

When I use QUOTENAME(), I can optionally provide the character used to surround the string in the result. Can I use any character?

See possible answers