我正在尝试编写此查询:
SELECT DISTINCT createdcfgid FROM ab WHERE (createdcfgid ~ ‘^[0-9]+$’)
这导致
syntax error at or near "[" LINE 3: WHERE (createdcfgid ~ ‘^[0-9]+$’)
那里的任何人都可以告诉我我做错了什么?
提前致谢
我正在尝试编写此查询:
SELECT DISTINCT createdcfgid FROM ab WHERE (createdcfgid ~ ‘^[0-9]+$’)
这导致
syntax error at or near "[" LINE 3: WHERE (createdcfgid ~ ‘^[0-9]+$’)
那里的任何人都可以告诉我我做错了什么?
提前致谢