If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Replication

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-26-03, 08:37
imadhu79 imadhu79 is offline
Registered User
 
Join Date: Feb 2003
Location: London
Posts: 3
Replication

Hi,can someone help me to detect the replication of data in SQL DB tables and how to remove the replicated data.
Reply With Quote
  #2 (permalink)  
Old 02-26-03, 16:20
strader strader is offline
Registered User
 
Join Date: Feb 2003
Posts: 15
Do you mean duplication of data? I'm not sure what you're asking here.
Reply With Quote
  #3 (permalink)  
Old 02-27-03, 04:22
imadhu79 imadhu79 is offline
Registered User
 
Join Date: Feb 2003
Location: London
Posts: 3
Quote:
Originally posted by strader
Do you mean duplication of data? I'm not sure what you're asking here.
Yes My friend duplication of data,can u help me please.
Reply With Quote
  #4 (permalink)  
Old 02-27-03, 12:23
strader strader is offline
Registered User
 
Join Date: Feb 2003
Posts: 15
Replication is a very different thing than duplication, so I had to ask.

Can you explain the scenario a bit further, what data are you trying to detect duplicates of?

The best situation is to avoid duplication by putting keys on columns. That might not be what you're after though

You can write some queries though that will detect multiples of something in a table.

Something like:

select dupfield, count(dupfield)
from duptable
group by dupfield
having count(dupfield) > 1
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On