using workspace variable value in visual query builder?
이전 댓글 표시
How can i use the values from workspace variable of matlab program in SQL queries of visual query builder (i.e SELECT * FROM tablename WHERE salary>workspacevariable's value) instead of static values like (WHERE salary>1000)?
댓글 수: 1
Tibor Meszaros
2020년 8월 28일
productdesc = 'Painting Set';
sqlquery = ['SELECT * FROM productTable ' ...
'WHERE productDescription = ' '''' productdesc ''''];
results = fetch(conn,sqlquery)
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Generated Code Interfacing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!