Tag archive
Commands grouped around the same concept, pattern, or recurring problem.
Format several known values into one compact `key=value` string for transport or handoff.
Accumulate a breadcrumb path string as a recursive CTE walks a parent-child tree.
Convert string values to all uppercase or all lowercase using `UPPER` and `LOWER`.
Aggregate multiple string values from grouped rows into a single delimited string.
Turn one plain-text payload into a base64 string for transport or lookup.
Return the portion of a string that matches a regular expression pattern, useful for parsing structured text without fixed delimiters.
Return only part of a text value by position and length.
Match string columns against a wildcard pattern using `LIKE`.
Locate where a substring first appears inside a string, returning its 1-based character position.
Convert a numeric value into a formatted string with a fixed number of decimal places, optionally including thousands separators.
Return the number of characters in a string using `LENGTH` or `LEN`.
Combine multiple text values into one string in the query result.
Combine multiple text values into one hyphen-separated key-like string.
Left-pad or right-pad a string to a fixed width by filling with a repeated character.
Convert a text string in a known format into a native DATE value using engine-specific parsing functions.
Use `REPEAT` to duplicate a string a given number of times, and `REVERSE` to flip its character order.
Use `REGEXP_REPLACE` to substitute every match of a pattern in a string with a replacement value.
Substitute all occurrences of a substring with a new value using `REPLACE`.
Expand a comma-separated or delimited string into one row per element, turning a single cell into a proper set of rows.
Remove leading and trailing whitespace from string values with `TRIM`.