set  @strSQL='select *
     
     from testtable  AS P   
     
     WHERE  P.Type='+@PType+' and P.PName ='''+@PName+'''  and P.PCode='+@PCode+' ';   -- like ''%'+@PName+'%'' '  ; 

 

相关文章:

  • 2021-08-30
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案