Skip to content
DbaFix
Just share answer and question for fixing database problem
MENU
  • HOME

Tag: regular-expression

Pattern matching with LIKE, SIMILAR TO or regular expressions in PostgreSQL

By adminPosted on December 24, 2022

Question : I had to write a simple query where I go looking for people’s name that start with a […]

Is there a T-SQL equivalent for punctuation as [0-9] is for numbers and [a-z] is for letters?

By adminPosted on October 24, 2022

Question : Is there a T-SQL equivalent of the [0-9] and [a-z] patterns that will let me pull values from […]

Large hexadecimal PRIMARY KEY – how to index substrings of the PK field?

By adminPosted on September 14, 2022

Question : I have a requirement for a very large (in terms of the number of rows, not data) database, […]

Assign result of regexp_split_to_array() to Pl/pgSQL array variable

By adminPosted on August 15, 2022

Question : How do I create an array and then put a result of a function into it? I’m doing […]

Postgres function index doesn’t work correctly with regular expressions

By adminPosted on July 24, 2022

Question : I have this Postgres function. It forces text to be lowercase and all nulls to become empty strings, […]

Can Postgres index regular expressions stored in a column?

By adminPosted on July 19, 2022

Question : I’ve got regular expressions stored as varchars in a column, which I need to match against incoming input. […]

Timestamp and substring with regular expression

By adminPosted on July 7, 2022

Question : I am using postgresql and I have the following table Table “public.test” Column | Type | Modifiers ——–+————————–+———– […]

Having regex_matches exclude cases where both capturing groups match a 0-length string

By adminPosted on May 15, 2022

Question : I’ll trying to write a regex pattern that will help me create an array of length 2 arrays […]

Oracle regexp_like square brackets inside character set

By adminPosted on March 31, 2022

Question : This questions is in regards to Oracle, pl/sql, and the regexp_like function. I am trying to build a […]

How to Get the Second Sequence of Characters using Regular Expressions

By adminPosted on February 23, 2022

Question : I have a field with an address in it (ex. 68 TIDAL BREEZE DR) and this regular expression […]

  • 1
  • 2
  • 3
  • 4

Recent Posts

  • Update statement errors, parenthesis, failed validation ORACLE
  • postgresql grant user privilages to dynamically created tables
  • How can streaming replication be kept lagged by a certain ‘delay’ time?
  • Query for similar syllables on a field
  • Write filename, servername/IP and date+time in spool file
  • Designing a table with multiple null FKs
  • I am trying to get the string between hyphen (-) which is before (+) upto next colon (:)
  • Why would a SELECT INTO cause an arithmetic overflow?
  • Possibility to implement time to execute / TempDB usage restrictions on some role groups in SQL Server?
  • Login failed for user – Error 18456 – Severity 14, State 38
  • comparing two values in same column with another column using AND condition
  • Slow running aggregate of aggregate query
  • Is it possible to get seek based parallel plan for distinct/group by?
  • PostgreSQL replication: out-of-sequence timeline ID, when former master made slave
  • Autogrowth Analysis in PROD DB based on the trace file data
  • Single versus Multiple databases
  • Does a user who has permissions to select from a view also need select granted to the children entities of that view?
  • Parse a string to find data between delimiters, multiple occurrences
  • Oracle multiple databases on same server [closed]
  • Help to create indexes to improve query performance and reduce report generation time

Categories

  • Database Backup
  • Database Design
  • Database Index
  • Database Optimization
  • InnoDB
  • Join
  • MariaDB
  • MongoDB
  • MySQL
  • Oracle
  • Performance
  • Permissions
  • Postgresql
  • Query Performance
  • Replication
  • Security
  • SQL Server
Proudly powered by WordPress / Support by: DizzyCoding