0
votes

Trying to execute the statement

select * 
from RU_VARIANCE_HISTORY

but I'm getting the error

DB2 SQL Error: SQLCODE=-901, SQLSTATE=58004,
SQLERRMC=Invalid collation ID, DRIVER=4.21.29

Tried searching but unable to find the solution.

1
Is anyone has encountered this issue before, tried lot of things but unable to find the solution.Diwakar Bhatt

1 Answers

-1
votes

This can happen if DB2 thinks the statement is really too long or too short. Try adding a semicolon to the end of your statement - this worked for me with the same error.