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
Walter Roberson 2012-6-23
What do you mean by "job" in the context of a database update? A code sample might help.
Eman  Shaltout
Eman Shaltout 2012-6-25
sorry sir ,this afield in database .thank you for reply

请先登录,再进行评论。

采纳的回答

Walter Roberson
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 个)

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by