var
L, I: Integer;
S: string;
Bytes: Array of Byte;
begin
S := ADOTable1.Fields[0].AsString;
L := Length(S);
if L > 0 then
begin
SetLength(Bytes, L);
Move(S[1], Bytes[0], L);
S := '';
for I := Low(Bytes) to High(Bytes) do
S := S + #32 + IntToHex(Bytes[I], 2);
ShowMessage(S);
end;
end;