I novice from SQL SERVER just turn oracle learning, SQL update statement before
UPDATE table, SET A=@ k=@ @ k k + 1 WHERE B=@ j
How do you write on the Oracle k=k + 1?
- k and j is variable, added, "k=k + 1" this sentence is error
The UPDATE table SET A=k, k=k + 1 WHERE B=j
Help you!
CodePudding user response:
The update table set a=: 1 + 1 where b=: using 2 k, j
CodePudding user response:
The original poster write complete some statements,
CodePudding user response: