阅读背景:

使用Postgres正则表达式搜索返回匹配的子字符串

来源:互联网 

I am trying to pull some values from a varchar field in Postgres. The *product_name* field could contain something like 'Big Bag 24-0-3 Twenty Gallons' or 'Small Bag 0-14-40' and the product code is the #-#-#. The numbers in the product code can be 0, or can be one or two digits, but there will always be three numbers separated by two dashes. I am trying to pull some values from a varchar




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: