Stable working MSSQL and MySQL identity