Changed sql db by broff