海海日记-冯海滨博客

您现在的位置是:首页 > SQL > 正文

SQL

sql 字符串拼接

happyfhb2022-08-05SQL691
select  'update base_prod_process_production_line_handover set prod_state='+cast(prod_state as varchar)  +' where id='''+id+'''',* 

from  base_prod_process_production_line_handover

sql 字符串拼接

平淡中储蓄成长

发表评论

评论列表

  • Kevin(2022-09-17 13:07:40)回复取消回复

    没想到这么多年了,你的博客还在更新啊。

    • happyfhb(2022-09-28 08:36:43)回复取消回复

      @Kevin 是的,如果没有问题,我胡一直写下去。