delphi中的sql.add语句
SQL.Add('insertintousers(userid,username,password,');SQL.Add('logindate,rights,commen...
SQL.Add('insert into users(userid,username,password,');
SQL.Add('logindate,rights,comment,sexb,age,cssj,gzsj,');
SQL.Add('department,school,degree,comments)');
SQL.Add('values(:userid,:username,:password,:logindate,');
SQL.Add(':rights,:comment,:sexb,:age,:cssj,:gzsj,');
SQL.Add(':department,:school,:degree,:comments)');
其中values括号中的冒号是干嘛用的? 展开
SQL.Add('logindate,rights,comment,sexb,age,cssj,gzsj,');
SQL.Add('department,school,degree,comments)');
SQL.Add('values(:userid,:username,:password,:logindate,');
SQL.Add(':rights,:comment,:sexb,:age,:cssj,:gzsj,');
SQL.Add(':department,:school,:degree,:comments)');
其中values括号中的冒号是干嘛用的? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询