I am trying to write this query:
SELECT DISTINCT createdcfgid FROM ab WHERE (createdcfgid ~ ‘^[0-9]+$’)
This results in
syntax error at or near "[" LINE 3: WHERE (createdcfgid ~ ‘^[0-9]+$’)
Anyone there who can give me a clue about what I am doing wrong?
Thanks in advance