list中有n个值,赋值给k个变量:a1, a2, ……,ak n = k时:a1, a2, ……,ak = list n > k时:使用1式报错:ValueError: too many values to unpack n < k时:使用1式报错:ValueError: need more than "n" values to unpack 只有n >= k时才可赋值: 从下标i开始的k个元素赋给a1, a2, ..., ak: a1, a2, ..., ak =…
@@c_beiz varchar(500) select top 1 @c_beiz = c_beiz from g_billd_qh_tmp where u_id=''+@uid+'' and iodate=''+@iodate+'' and gfrom=''+@gfrom+'' and gto=''+@gto+'' and c_zaiy=''+@c_zaiy+''…