please can you help me ??update database??
1 次查看(过去 30 天)
显示 更早的评论
i write update database function but i need to update by job where name is "from text field from another m file " modifying job or new job from text field i try a lot without no benefit..... please tell me about right syntax for this status.......
thank a lot first...
2 个评论
Walter Roberson
2012-6-23
What do you mean by "job" in the context of a database update? A code sample might help.
采纳的回答
Walter Roberson
2012-6-25
As a rough outline, something like:
query_string = ['SELECT from MyTable where job = "' TheVariableName '"]
result = sql(query_string)
That is, you can construct the query string by concatenating together portions.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!