Fix bug Content-2305: make the sql script compatible with sql azure.