解决方案 »

  1.   

    从现象看是被认作了整数列,你把null改成‘’吧
      

  2.   

     怎么将 ContractID  设置为 varchar类型
      

  3.   

    我的 aa.ContractID 是 varchar(100)
      

  4.   

     select aa.PSCode, aa.RegionName,aa.PSName,aa.CorporationCode,aa.CommunicateAddr,aa.Linkman,null ContractID
     into #bankcontract
     from
     (select b.PSCode,a.RegionName, b.PSName, b.CorporationCode, b.CommunicateAddr, b.Linkman
    from    Dictionary.Region a , PSInfo.PSBaseInfo b 
            where   a.RegionCode = b.RegionCode and b.DeleteFlag = 0 and b.Status = 0 and b.RegionCode=330109000) aa红字的地方把类型隐式转换了
      

  5.   

    用cast( ' ' as varchar(255)) as ContractID