当前位置:首页 - SQL

Sql like 中括号的使用方式

作者:高景洋 日期:2018-09-06 19:28:01 浏览次数:2801

最近事情很多,就像 那 哈密瓜 断了瓜瓤~


sql 中 like 要用到 中括号时 “[[”  两个抵一个“[


SELECT top 100 *
FROM [dbo].abcdefghijklmn]
where RefreshDate='20180903' and LEN(Promotion)>LEN('{"shopCoupon":[],"subtraction":[],"itemCoupon":[]}') and Promotion not like '%"itemCoupon":[[]%'

本文永久性链接:
<a href="http://r4.com.cn/art113.aspx">Sql like 中括号的使用方式</a>
当前header:Host: r4.com.cn X-Host1: r4.com.cn X-Host2: r4.com.cn X-Host3: 127.0.0.1:8080 X-Forwarded-For: 3.239.76.25 X-Real-Ip: 3.239.76.25 X-Domain: r4.com.cn X-Request: GET /art113.aspx HTTP/1.1 X-Request-Uri: /art113.aspx Connection: close User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 If-Modified-Since: Mon, 27 Mar 2023 10:56:25 GMT Accept-Encoding: br,gzip