Skip to main content

VERTICA INSTR function returns position value as 0 - Seems Product Bug

  • July 7, 2015
  • 1 reply
  • 8 views

Chandra_Prakash
Forum|alt.badge.img+1

Hi Vertica team,
INSTR function value as 0. seems a product bug and now causing big issue for my code where i am using
REGEXP_SUBSTR function to read the output and unable to read since REGEXP_SUBSTR starts eading from position 1.

 

Query:

SELECT INSTR('VIP Indicator-0,','%VIP INDICATOR%',1,1)

 

output:

0

 

This query has been tested in both V5 and V7 version.

 

 

Regards,

CP

1 reply

Chandra_Prakash
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • July 7, 2015

Please ignore this post