boss机械手表价格图片:sql编程哪里错了?

来源:百度文库 编辑:高考问答 时间:2024/04/27 09:10:59
if @case='1'
@sql='update [plus_down_download] set dayhits=dayhits+1 where id='+@plus_down_download_id
if @case='2'
@sql='update [plus_down_download] set dayhits=1 where id='+@plus_down_download_id
if @case='3'
@sql='update [plus_down_download] set dayhits=dayhits+1 where id='+@plus_down_download_id
if @case='4'
@sql='update [plus_down_download] set weekhits=weekhits+1 where id='+@plus_down_download_id
if @case='5'
@sql='update [plus_down_download] set weekhits=1 where id='+@plus_down_download_id