dbWriter Home
IP to Country Look up
Site Map

IP to Country DB

Free Databases:

ASP Code

ASP Links

VB Script functions:
Array
Case/Select
In String (inStr)
Replace

HTML code:
SELECT Color
SELECT Countries
SELECT Language
SELECT State/Province

SQL:

SQL Functions:
Delete leading Char
Get Browser
Long number from IP

Stored Procedures:

SQL Tricks:
Delete ALL duplicates
Delete dup records

MISC
IP Address Owner
MS SQL Server

Mortgage Calcs:
how much is my payment
Loan Amortization
Loan Calculator
Mortgage Calculator
Motrgage Pay Off

dbWriter License

Link to US

Links

Contact US
 

dbWriter SQL DELETING DUPLICATE RECORDS:


As you know it is difficult to get rid of duplicate records in a SQL database.
There are a lot of scripts out there that will find them for you BUT deleting them will only cause an error because the server cannot distinguish between them.

THE FIX:

Modify the SQL table and add a unique integer identity column to the table.
This will make each row unique and then you can delete or leave any row YOU chose!!!

Then you can remove the column if you wish BUT without it you will have the same problem in the future.


Partners/Links © 2005 - 2008 dbWriter.com All Rights Reserved
This site is protected by the dbWriter IPtoCountry MS/SQL database!!
Site map | Link to US
Contact Us

Sign up for PayPal and start accepting credit card payments instantly.