This paper is concerned with a transfer alignment of SDINS under ship motions. To reduce alignment errors induced by the ship body flexure, an error compensation method is suggested based on velocity and DCM partial matching, and by interpreting the simulation results and comparing with the conventional velocity and quaternion partial matching, it is shown that the proposed method is effective enough to improve the azimuth alignment performance.