please can you help me ??update database??

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

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 25 Jun 2012
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.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!