单引号中怎么变量赋值。
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
果博东方游戏注册【微8785092】
il 23 Mag 2023
Risposto: 果博东方线上注册【微8785092】
il 23 Mag 2023
例如:
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 Commenti
Risposta accettata
果博东方线上注册【微8785092】
il 23 Mag 2023
sql=['select t.*,d.name from t_fraginf t join t_fragrant d on t.tno=d.dno having tno=', nub2str(tx) , ';' ];
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 使用 App 设计工具开发 App in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!