Technical Article

Eliminate Duplicates

This will find and delete all duplicate rows. You can refine the granularity of uniqueness by including more columns than just the Primary Key. If you are picky about which rows you want to delete, don't use this. Instead use the 'Find Duplicates' script I just submitted and then delete manually.

You rated this post out of 5. Change rating

2002-05-24

1,091 reads

Technical Article

Find Duplicates

Find duplicates in any table, and report the number of duplicates. Enter in the table name, and the field or fieldsfor which there should only be one row for each of that field, but you suspect are more. For example, if an employee table has more than one record for an employeethis will find any […]

(1)

You rated this post out of 5. Change rating

2002-05-24

587 reads

Technical Article

TableCounts

This script generates a statement that you would then run in the user database to get rowcounts of all tables. The advantages of this approach are you can modify it to get just the tables you want, and the output is easy to read:Table1-------1069Table2------10427

You rated this post out of 5. Change rating

2002-05-24

417 reads

Blogs

SQL Server 2025 RegEx and AI

By

One of the language changes in SQL Server 2025 that I’ve seen a lot...

T-SQL Tuesday #192: SQL Server 2025 Backup Changes

By

I hosted this month, but I decided to put my own entry in as...

Why Databases Still Fascinate Me

By

I get asked a lot about why or how I began working with databases...

Read the latest Blogs

Forums

Call Center Agoda

By sqlnoobie

Nomor telepon call center Agoda: (0811) 222143 atau (0811) 222611. Hubungi Untuk Refund Dan...

Call Center Agoda Indonesia

By sqlnoobie

Layanan Bantuan Planggan 24 Jam Call Center Agoda Indonesia Hubungi WhatsApp: 0811 222 143....

Kenapa cashback saya tidak masuk di Agoda

By sqlnoobie

Untuk melakukan klaim cashback, Silahkan menghubungi Agoda melalui WhatsApp di nomor: 0811 222 143.

Visit the forum

Question of the Day

Identify a Slipstream Installation

I get a new SQL Server instance from my build team. How can I tell if the instance was installed using a slipstream installation later?

See possible answers