sql=['select t.*,d.name from t_fraginf t join t_fragrant d on t.tno=d.dno having tno=', nub2str(tx) , ';' ];
单引号中怎么变量赋值。
3 ビュー (過去 30 日間)
古いコメントを表示
果博东方游戏注册【微8785092】
2023 年 5 月 23 日
回答済み: 果博东方线上注册【微8785092】
2023 年 5 月 23 日
例如:
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!