python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Db2 rollforward "to end of backup" vs. "to end of logs"?
On Db2 Enterpise Server Edition v11.1 single patitioned database on Linux/Intel using LOGARCHMETH1 I executed backup and restore commands:
db2 "backup database mydb online to /path/to/backup incl...
folow
Votes: 0
Answers: 2
creating sql function implemented in java via flyway
I'm trying to create a function like:
--#SET TERMINATOR @
CREATE OR REPLACE FUNCTION NYA.QUINT_2_UINT( I VARCHAR(11))
RETURNS INTEGER
RETURNS NULL ON NULL INPUT
FENCED THREADSAFE
DETERMINISTIC...

Lennart - Slava Ukraini
Votes: 0
Answers: 1
DB2 Update cursor issue
Whats wrong with the below cursor. It works well with oracle, but with db2 gives error
"The FOR UPDATE clause is not allowed because the table specified by the cursor cannot be modified.. SQLCODE...
stacky
Votes: 0
Answers: 1
DB2 LUW MERGE using same table to update a different row
My table data looks like this
My poorly attempted SQL is this...
MERGE INTO PRINT target
USING
(
select ID,PDF_FILE
from PRINT
where date(PRINTED) = '2022-01-06'
and PD...
simadams3
Votes: 0
Answers: 1