DbVisualizer - 引用选项卡上的重复链接
DbVisualizer - duplicate links on References tab
知道为什么 DbVisualizer 10.0.25 x64 (Win10) 显示重复的 fks 吗?
如果我运行这个查询
SELECT
tc.table_schema,
tc.constraint_name,
tc.table_name,
kcu.column_name,
ccu.table_schema AS foreign_table_schema,
ccu.table_name AS foreign_table_name,
ccu.column_name AS foreign_column_name
FROM
information_schema.table_constraints AS tc
JOIN information_schema.key_column_usage AS kcu
ON tc.constraint_name = kcu.constraint_name
AND tc.table_schema = kcu.table_schema
JOIN information_schema.constraint_column_usage AS ccu
ON ccu.constraint_name = tc.constraint_name
AND ccu.table_schema = tc.table_schema
WHERE tc.constraint_type = 'FOREIGN KEY' AND tc.table_name='location'
它returns只有一行。
我所有的桌子都会出现这种情况。
有同样的问题。
更新到10.0.26
就可以解决
知道为什么 DbVisualizer 10.0.25 x64 (Win10) 显示重复的 fks 吗?
如果我运行这个查询
SELECT
tc.table_schema,
tc.constraint_name,
tc.table_name,
kcu.column_name,
ccu.table_schema AS foreign_table_schema,
ccu.table_name AS foreign_table_name,
ccu.column_name AS foreign_column_name
FROM
information_schema.table_constraints AS tc
JOIN information_schema.key_column_usage AS kcu
ON tc.constraint_name = kcu.constraint_name
AND tc.table_schema = kcu.table_schema
JOIN information_schema.constraint_column_usage AS ccu
ON ccu.constraint_name = tc.constraint_name
AND ccu.table_schema = tc.table_schema
WHERE tc.constraint_type = 'FOREIGN KEY' AND tc.table_name='location'
它returns只有一行。
我所有的桌子都会出现这种情况。
有同样的问题。 更新到10.0.26
就可以解决