But, after execution, I am getting the following error: "Operand type clash: INT is incompatible with DATETIME"
when I try to access my first out param as:
cstmt.execute(); procStatus = cstmt.getInt(1);
Could someone tell what would be the problem?
Thanks in advance, Raj A
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
4
posted
0
Please alter your log-on name to conform with the Ranch's naming policy.
Welcome to the Ranch.
You need to get the metadata for the row you are querying; obviously there is a DATETIME value which you are mistakenly trying to get INTs into or out of.