Filter löschen
Filter löschen

please can you help me ??update database??

1 Ansicht (letzte 30 Tage)
Eman  Shaltout
Eman Shaltout am 23 Jun. 2012
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 Kommentare
Walter Roberson
Walter Roberson am 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 am 25 Jun. 2012
sorry sir ,this afield in database .thank you for reply

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 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.

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by