SQL Strategies and Tactics
Contact | About
July 08, 2010
How To Dupe Duplicate Rows In Three Easy Steps
By Michael Marr
Repetitive information goes against good database design, and thus is reason enough to find and remove duplicate values. However, when utilizing an UNIQUE key or other types of indexes, duplications actually break or prevent statements from executing properly.

Step 1: Determine if duplicates exist.

mysql>SELECT value, count(*) as num
FROM t1
GROUP BY value
HAVING count(*) > 1;
Continue Reading
Today's Top Videos:
Making the Most of Your Data
Although most businesses understand the need for measuring analytics, unfortunately, that is as far as some businesses take it.
Marketers Endorse Attribution...
Marketers who are trying to figure out how to allocate credit for clicks and sales should understand that their choices are pretty...
Avoiding Data Pitfalls in Local Search
According to Eric Enge of Stone Temple Consulting, one of the greatest challenges with local search is the data.
Recent Articles:
A Uniform Query To The Community
The language of SQL is a lot like the English language. You have North American and Great Britain dialects of the language, not to mention significantly varying degrees of those dialects broken down amongst the geographical regions in which they're spoken.

And so is the fate of the Structured Query Language. Although the base of the language remains somewhat intact, programming in Oracle, Microsoft SQL, PostgreSQL, or other SQL extensions when you're from a MySQL background becomes painfully difficult at times (or switch MySQL with any of the other languages and the same occurs). The line between proper SQL and the...
Read More...
Get a human. Host with The Planet.
Double Your Ram Free

Teradata Releases New Database Features
Todd Walters introduced the new release - 13.10. Not every feature is equally interesting to me but a couple were important to note: One of the key features in the new database release is the support for temporal tables. Default for a temporal...
Read More...
MySQL Incremental Backup
Best practices encourage SQL administrators to have a system in place to automatically and routinely backup their database. Let's take a look at a line of Joe Sysop's crontab file: 30 15 * * 3,5 mysqldump --user=user --password=pass...
Read More...
Using MySQL Workbench To Copy, View, Edit...
This guide is designed to be used for Linux desktops and servers. For best results, use the same Linux version for the desktop as is installed on the server. To quote the authors: MySQL Workbench is a cross-platform, visual database design...
Read More...
Other iEntry Business Resources:
- WebProNews.com
- Jayde.com
- MarketingNewz.com
- SalesNewz.com
- CareerNewz.com
- InvestNewz.com
- eCommNewz.com
- WebsiteNotes.com
- AdvertisingDay.com
iEntry
footer
-- SQLProNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2010 iEntry, Inc. All Rights Reserved Privacy Policy Legal