필터 지우기
필터 지우기

please can you help me ??update database??

조회 수: 1 (최근 30일)
Eman  Shaltout
Eman Shaltout 2012년 6월 23일
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