Fix all bug of storage data in sql server.