帮我分隔一条too too too ..........long 的Update语句。。。。。(小的很很急需解决的!!!)
各位大虾:
小的,有条Update语句太长了,不知道如何分割开:
CmdStr:='Update zotheruserlist';
CmdStr:=CmdStr+Format(' Set zusertype=%d,...where zotheruserid=%d',[TypeID,...StrToInt(CarderNo.Text)]);
SQL.Add(CmdStr);
ExecSQL;
请教:怎样把第二条CmdStr:=CmdStr+Format...分成两至三段。。
能不能这么分:
CmdStr:='Update zotheruserlist';
CmdStr:=CmdStr+Format(' Set zusertype=%d,...');
CmdStr:=CmdStr+Format(' Where zotheruserid=%d',[TypeID,...StrToInt(CarderNo.Text)]);
SQL.Add(CmdStr);
ExecSQL;
请教!
我试了,还是不行,最主要的是[TypeID,...StrToInt(CarderNo.Text)]这一部分还有.用两个Format对吗??
请教!!!
各位大虾,小的很很急需解决的!!!