0

I am using regexp_replace function in Teradata but encounters the below issues

I am looking to replace datevalue to YYYYMMDD.

Below is the query i have used

select RegExp_Replace('20230320',[0-9]{8},'YYYYMMDD')

error I get is " expected something between. and [ "

how do I achieve that in Teradata?

PK39565
  • 11
  • 3

0 Answers0