张
张丽敏
Unregistered / Unconfirmed
GUEST, unregistred user!
Delphi中有一函数:Encrypt()
function Encrypt(const S: String; Key: Word): String;
var
I: Integer;
begin
Result := S;
for I := 1 to Length(S) do begin
Result := char(byte(S) xor 2);
end;
要将Encrypt()转到Sql server中,
SQL 应怎样写?
谢谢!!
function Encrypt(const S: String; Key: Word): String;
var
I: Integer;
begin
Result := S;
for I := 1 to Length(S) do begin
Result := char(byte(S) xor 2);
end;
要将Encrypt()转到Sql server中,
SQL 应怎样写?
谢谢!!