Fix SQL statement descriptor.