从小到大 发表于 2007-3-24 15:55

[求助] 在Sql语句结尾之后找到字符

<BR>update PhoneInfo <BR>set VoteCount=VoteCount+1;<BR>    VoteScore=(@VoteScore+VoteCount*VoteScore)/(VoteCount+1) <BR>where <a href="mailto:PhoneID=@PhoneID" target="_blank" >PhoneID=@PhoneID</A><BR><BR>弹出错误窗口 在Sql语句结尾之后找到字符<BR><BR>如果有人投票的话 重新计算投票的分数 本人新学的数据库 该如何做?<BR>急救!!

suyongtao 发表于 2007-3-30 09:16

不会,

being 发表于 2007-3-30 13:11

update PhoneInfo <br>set VoteCount=VoteCount+1;   -----------&gt;这里用","吧??<br>    VoteScore=(@VoteScore+VoteCount*VoteScore)/(VoteCount+1) <br>where PhoneID=@PhoneID<br><br><br>

jxyga111 发表于 2008-6-20 18:58

替换啊找到'就替换成空

页: [1]

编程论坛