当前位置:网站首页>Henkel database custom operator '! ~~'
Henkel database custom operator '! ~~'
2022-06-21 20:35:00 【51CTO】
Henkel database
Catalog
Environmental Science
Document purpose
Details
Environment system platform :Microsoft Windows (64-bit) 10 edition :5.6.5 Document purpose
Solve problems in the application SQL Statements use !~~ When matching operators , Mistakes encountered :
Details
One , Test preparation
Create tables and insert data :
Two , Test the query

3、 ... and , Solution : Custom operators
CREATE OR REPLACE FUNCTION hgdb_catalog.intnlike(integer,integer)
RETURNS boolean AS $$
select $1::varchar !~~ $2::varchar;
$$
LANGUAGE sql strict;
ALTER FUNCTION intnlike(integer, integer)
OWNER TO highgo;
COMMENT ON FUNCTION intnlike(integer,integer) IS 'implementation of !~~ operator';create operator hgdb_catalog.!~~(
procedure = hgdb_catalog.intnlike,
leftarg = integer,
rightarg = integer
);
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
Four , Query again

The related documents
边栏推荐
- Simple integration of client go gin IX create
- I remember that procedure cannot be written in maxcomputer. If you want to use Oracle procedure
- mysql如何查询最大id值
- The highest monthly salary is 17k. As long as there is a field of hope in your heart, hard work will usher in a green land~
- Netcore3.1 Ping whether the network is unblocked and obtaining the CPU and memory utilization of the server
- Comment MySQL additionne les colonnes
- 函子(Functor)
- Implementation of assembly language greedy snake and Tetris dual task design (II) -- detailed design of greedy snake
- Category
- 服务器正文17:内存映射和共享内存的简单理解
猜你喜欢

YB5212A充电IC充电芯片sop8

RPA财务流程自动化 | 浦发集团携手云扩科技加速财务数字化运营

某大厂第二轮裁员来袭,套路满满

pfSense配置TINC站點至站點隧道教程

Servlet usage

5月刚刚阿里面软件测试岗回来,3+1面任职阿里P7,年薪28*15薪

Selected articles of the research paper | interpretation of the trend of McKinsey's China's Digital Innovation future

拼多多618手机品牌官旗销量同比增长124%,4000+高价位手机同比增长156%

国标设备注册EasyCVR平台,如何修改设备在离线状态判断的时间?

2022-06-20
随机推荐
Whether there are keywords in MySQL
Jenkins定时构建并传递构建参数
阿里云 ACK One、ACK 云原生 AI 套件新发布,解决算力时代下场景化需求
Taoist Zhang Zhishun's self narration
研报精选 | 麦肯锡《中国数字创新未来》趋势解读
Servlet usage
京东39岁“毕业生”被裁一周就找到新工作,涨薪20%!
2022-06-20
大鱼吃小鱼小游戏完整版
Oracle Flashback和RMAN示例
Implementation of assembly language greedy snake and Tetris dual task design (II) -- detailed design of greedy snake
What are the knowledge points of SQL statements
【基于合泰HT32F52352的智慧垃圾桶总结】
SQL语句知识点有哪些
EasyCVR智能边缘网关硬件如何设置通电自启动?
Snake game project full version
MySQL 5.7 compilation and installation
MySQL 5.7编译安装
Which platform is the best and safest for retail investors to buy funds
How to query the data in MySQL