Fixed type in sql script