on 07-19-2017 6:05 PM - last edited on 02-03-2024 8:51 PM by postmig_api_4
Hi
I am trying to execute the below query using the hashbyes function and getting different results through jdbc compared with isql.
SELECT col1_pk, hashbytes ('md5',col1_pk,col2) FROM tab1
isql - results for hash (0x40cdd3b0958ab249d4c6aa7b7501c389)
jtds-1.3.1.jar - results for hash (@ÍÓ°•Š²IÔƪ{uÉ)
jconn4.jar - error (JZ0TE: Attempted conversion between an illegal pair of types. Valid database datatypes are: '(text, Clob) (unitext, Clob) (unitext, NClob) (unitext, Clob) (image, Blob)')
Please suggest how I can get the same results as that in isql?
Thanks
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.