#402 Fixed type sql declaration