postgresql – ~~ Postgres中的运算符

前端之家收集整理的这篇文章主要介绍了postgresql – ~~ Postgres中的运算符前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在 Postgres有一个查询
SELECT DISTINCT a.profn FROM tprof a,sap_tstc b,tgrc c 
WHERE ((c.grcid ~~ a.grcid) 
AND ((c.tcode) = (b.tcode)));

什么是~~是什么意思?

9.7.1. LIKE的Postgresql文档:

The operator ~~ is equivalent to LIKE,and ~~* corresponds to ILIKE. There are also !~~ and !~~* operators that represent NOT LIKE and NOT ILIKE,respectively. All of these operators are Postgresql-specific.

原文链接:https://www.f2er.com/postgresql/191865.html

猜你在找的Postgre SQL相关文章