|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, April 19, 2011 5:10 PM
Points: 275,
Visits: 168
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, April 19, 2011 5:10 PM
Points: 275,
Visits: 168
|
|
For more detail on using this procedure, read the SQL Team article that I posted: http://www.sqlteam.com/article/anticipating-primary-key-violations
This gives step-by-step instructions on how to get the most out of this procedure.
Karen Gayda MCP, MCSD, MCDBA
gaydaware.com
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, August 24, 2011 8:36 AM
Points: 6,
Visits: 121
|
|
| What ever happened to simply grouping by the primary key with a count > 1? Wouldn't that find dupes just as well? It seems like overkill to run each record through a cursor against multiple functions.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, April 19, 2011 5:10 PM
Points: 275,
Visits: 168
|
|
It doesn't work in every scenario. The proc. that I wrote handles every condition possible that I had encountered.
Karen Gayda MCP, MCSD, MCDBA
gaydaware.com
|
|
|
|