sql - Limit wildcard capture length postgreSQL -


Is there a way to limit the number of characters seen in a wildcard '%' operator? Say that I only want to select the record with the two events of the 'July' phrase, I will include "like" "July July July" in my query, but now I want to choose only that in July 2 Each has 40 characters other. Is there any way to do this in SQL?

How to use?

  SELECT * MyTable where my column ~ ~ July. [0, 40} July ';   

(Note: Use ~ * instead of ~ to get insensitive case code.



Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -