...Delete a User from adatabase in Sql Server 2000 ?
Author: Mostafa Sarbazzadeh
procedure TForm1.Button1Click(Sender: TObject);
begin
ADOCommand1.CommandText := 'Use DataBaseName';
ADOCommand1.Execute;
ADOCommand1.CommandText := 'Exec SP_DropUser ' + QuotedStr('Username');
ADOCommand1.Execute;
end;
{* For Any Information Mail Me *
Mail : Mostafa@Touska.co.ir}
printed from
www.swissdelphicenter.ch
developers knowledge base