this works with SQLServer and appears to be generally less database specific and fragile