I have a database, where I need to make an update like
X = ''' UPDATE TABLE A
SET COL1 = 'VAL1',
COL2 = :2
WHERE COL3 = :1'''
I am making a call like
c.execute(X, 123, 3)
and it is not working.
where c is db.cursor() and I am connecting using DCOracle2.
Can someone help?
I have absolutely no idea.
X = ''' UPDATE TABLE A
SET COL1 = 'VAL1',
COL2 = :2
WHERE COL3 = :1'''
I am making a call like
c.execute(X, 123, 3)
and it is not working.
where c is db.cursor() and I am connecting using DCOracle2.
Can someone help?
I have absolutely no idea.