我有一个像
这样的查询qry = '''
UPDATE H660_Links
SET H660_Links.[_AdjLocFrm] = iif(H660_Links.[LocationFrom] Like '*_h' Or
H660_Links.[LocationFrom] Like '*_P' Or
H660_Links.[LocationFrom] Like '*_F',
Left(H660_Links.[LocationFrom],Len(H660_Links.[LocationFrom])-2),H660_Links.[LocationFrom])
'''
crsr.execute(lb.cleanqry(qry))
cnxn.commit()
但更新未发生且字段仍未更新。有什么建议吗?