What difference exist between dsTest.ExecSQL('Select * from Vendor where Code = 0'); and dsTest.SQL := 'Select * from Vendor where Code = 0'; ? Regards.