ibmdb / node-ibm_db

IBM DB2 and IBM Informix bindings for node
MIT License
188 stars 151 forks source link

ROW_NUMBER() OVER() returns a string instead of a number #876

Closed Stoyz closed 1 year ago

Stoyz commented 1 year ago

Steps to Reproduce:

  1. execute query SELECT ROW_NUMBER() OVER() FROM SYSIBM.SYSDUMMY1
  2. returned value is a string
Stoyz commented 1 year ago

Find out ROW_NUMBER returns a BIG_INT (see documentation), thus this is not a bug as it is returning a string for a BIG_INT.

If you agree, please close this issue.

Thank you

bimalkjha commented 1 year ago

@Stoyz Yes, ibm_db@2.8.2 returns BIG INT as string. Thanks for update. Closing it.