Sql语句里面调用变量
时间:2021-07-01 10:21:17
帮助过:30人阅读
insert DataInformation values(‘" + user +
"‘,‘" + list2[j].PlaceID +
"‘," + list2[j].VELO +
"," + list2[j].F +
"," + list2[j].SS +
"," + list2[j].R +
",‘" + date.ToString() +
"‘," + list2[j].V +
"," + list2[j].VP +
"," + list2[j].L +
")");
如代码所示,字符型就单引号括起来双引号。数字类型的就直接写就ok了
Sql语句里面调用变量
标签:val ring eid 字符类型 引号 user exec use color