Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using TOP 3.1.3 on SQL Server 2008 on windows XP
Column analysis has been fine however I attempted to run a table analysis with a data quality rule and got an invalid object name, I have previewed the SQL for both column analysis and table analysis on my database and the difference seems to be that the format of the sql that is being run for column analysis is different to the table analysis format.
The format for column analysis is
select .... from "database"."schema"."table" where ..............
however when I hover over the DQ rule in the table analysis window to preview the SQL the format is
select ..... from "table" where ........
I guess that is why it is failing as the table isn't being fully qualified in the sql statement for the table analysis hence why I am getting the invalid object error?
SELECT COUNT(*) FROM "Client" WHERE (Client_Name like '%DUP%' or Client_Name like 'Invalid%' or Client_Name like '%Invalid%' or Client_Name like '%Test%' or Client_Name like '%Blah%'
or Client_Name like '%tbc%' or Client_Name like '%tba%' or Client_Name like '%TBA%' or Client_Name like '%-%' or Client_Name like '%..%' or Client_Name like '%Unknown%')
SELECT COUNT(*) FROM "ClientSchema"."Client" WHERE (Client_Name like '%DUP%' or Client_Name like 'Invalid%' or Client_Name like '%Invalid%' or Client_Name like '%Test%' or Client_Name like '%Blah%'
or Client_Name like '%tbc%' or Client_Name like '%tba%' or Client_Name like '%TBA%' or Client_Name like '%-%' or Client_Name like '%..%' or Client_Name like '%Unknown%')
SELECT COUNT(*) FROM "ClientDB"."ClientSchema"."Client"
Server.Database.DatabaseSchema.DatabaseObject
Use databasename