Red Gate MySQL Compare显示差异组中显示的类似对象

时间:2012-04-10 20:49:45

标签: mysql sql redgate schema-compare

我正在进行MySQL Red Gate架构比较,并且差异组中显示了对象,但比较视图没有显示差异。我错过了什么吗?

1 个答案:

答案 0 :(得分:0)

尝试以下方法:

SELECT 
    phone, 
    COUNT(phone) AS NumOccurrences
FROM 
    *MyTable*
GROUP BY 
    phone
HAVING ( 
    COUNT(phone) > 1 
)