用法:

ENCODE(str,passwd)
DECODE(str,passwd)

INSERT INTO test_log_1 VALUES (30,ENCODE("30","passwd"));

select id,DECODE(name_id,"passwd") from test_log_1 where id=30;

 

相关文章:

  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案