sql=['select t.*,d.name from t_fraginf t join t_fragrant d on t.tno=d.dno having tno=', nub2str(tx) , ';' ];
单引号中怎么变量赋值。
3 次查看(过去 30 天)
显示 更早的评论
例如:
tx=5;
sql='select t.*,d.name from t_fraginf t join t_fragrant d on t.tno=d.dno having tno=tx';
请问,单引号中的tx如何等于5
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!