当前位置: 代码迷 >> SQL >> sqlserver 变量拼凑
  详细解决方案

sqlserver 变量拼凑

热度:128   发布时间:2016-05-05 15:13:02.0
sqlserver 变量拼接
    string cmd = "update [Tlb_VODContentServer]  set BaseUrl='" + cs.BaseUrl + "',CurrentLoading='" + cs.CurrentLoading + "',IsAvailable='" + cs.IsAvailable + "',DiskFreeSpaceInByte='" + cs.DiskFreeSpaceInByte + "',LastBeatTime='" + cs.LastBeatTime + "' where ContentServerId='"+cs.ContentServerId+"';";
  相关解决方案