【问题标题】:Red Gate MySQL Compare showing similar objects shown in the differences groupRed Gate MySQL 比较显示差异组中显示的相似对象
【发布时间】:2012-04-23 04:28:54
【问题描述】:

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

【问题讨论】:

  • 比较时是否选择了所有列?

标签: mysql sql redgate schema-compare


【解决方案1】:

尝试以下方法:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-08-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-01-18
    相关资源
    最近更新 更多