i never see here, if exists sorry.
this script delete newerused accounts from lin2db:
Code:
begin tran
delete from user_auth where exists(select 1 from user_account where user_account.last_login is null and user_account.account=user_auth.account)
delete from user_account where user_account.last_login is null
commit
backup your db before use any script