using workspace variable value in visual query builder?
Ältere Kommentare anzeigen
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 Kommentar
Tibor Meszaros
am 28 Aug. 2020
productdesc = 'Painting Set';
sqlquery = ['SELECT * FROM productTable ' ...
'WHERE productDescription = ' '''' productdesc ''''];
results = fetch(conn,sqlquery)
Antworten (0)
Kategorien
Mehr zu Generated Code Interfacing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!