FIND YOUR NEXT FEW LINES

Results for “CTE”

Small, practical examples. Search by task or narrow things down below.

370 snippets foundClear filters
SQLBulk changes & set operations

Delete rows selected by a related table

SQL: A correlated EXISTS limits the delete to explicitly listed records.

SQL✓ Tested
SQL ServerBulk changes & set operations

Delete rows selected by a related table

SQL Server: A correlated EXISTS limits the delete to explicitly listed records.

SQL Server✓ Tested
PostgresBulk changes & set operations

Delete rows selected by a related table

Postgres: A correlated EXISTS limits the delete to explicitly listed records.

Postgres✓ Tested
SQLiteBulk changes & set operations

Delete rows selected by a related table

SQLite: A correlated EXISTS limits the delete to explicitly listed records.

SQLite✓ Tested
Arduino / CSerial protocols

Dispatch a one-character serial command

Arduino / C: A switch provides explicit handling for accepted and unknown commands.

Arduino / C✓ Tested
HTMLGetting Started

Display reserved characters as text

HTML: Learn how to display reserved characters as text in a complete browser example.

HTML✓ Tested
RustStrings & Unicode

Distinguish UTF-8 bytes from characters

Distinguish UTF-8 bytes from characters in a complete Rust program using the standard library.

Rust✓ Tested
GitBranches & ancestry

Find branches that contain a selected commit

Git: branch --contains limits the list to branches whose histories include the chosen revision.

Git✓ Tested
CStrings & byte buffers

Find the first occurrence of a character

C: strchr returns a pointer into the input or NULL if the character is absent.

C✓ Tested
AngularPipes & formatting

Format an amount in a selected currency

Format an amount in a selected currency with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
SQLiteQueries & text

Generate numbers with a recursive CTE

Build a bounded sequence using SQL recursion.

recursive CTE✓ Tested
PythonFunctions & error handling

Handle an expected child-process failure

Python: Catch CalledProcessError when check=True reports a nonzero exit status.

Python✓ Tested