Link to home
Start Free TrialLog in
Avatar of parpaa
parpaa

asked on

Run query against all DB

Hi
I have request where I have to check the column keys for a particular table for each db.

I had attached the structure of table.
The keys of this column (ACLkey) should always begin from 1 and since this is identity column. It should not have any gap.
I need to find the dbs' name whose aclkey are not proper. Hope am clear.
acl.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
just because a column is defined as an identity does not mean that there cannot or should not be "gaps" in the sequence numbers of the data rows there are several valid reasons/scenarios for that....

would you like to reconsider your problem and restate what it is you are being asked to do...
Avatar of parpaa
parpaa

ASKER

Thanks for the solution. It worked perfectly. Cheers!