FIND YOUR NEXT FEW LINES

Results for “remove row”

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

1164 snippets foundClear filters
C#Types & reliable control flow

Narrow an object using a type pattern

C#: A successful is pattern introduces a strongly typed local variable.

C#✓ Tested
JavaRecords & reliable control flow

Narrow an object with a pattern variable

Java: Pattern matching avoids a separate cast after a successful instanceof check.

Java✓ Tested
PostgresWindows & text

Number rows within each group

Assign ordered row numbers with a window function.

row_number✓ Tested
C#Types & reliable control flow

Parse an enum name without throwing

C#: Combine TryParse and IsDefined when only named declared values should be accepted.

C#✓ Tested
PowerShellDates & numeric validation

Parse an integer without throwing on invalid input

PowerShell: TryParse reports conversion success separately from its output value.

PowerShell✓ Tested
PythonJSON & CSV

Read CSV rows as dictionaries

Read a CSV file using its header row as dictionary keys, so each column can be accessed by name.

csv✓ Tested
PowerShellText & data

Read rows from CSV text

Parse CSV into objects with named properties.

CSV✓ Tested
SQLWindow analytics

Read the next row’s value

SQL: LEAD reads a later ordered row without a self join and supports a fallback at the end.

SQL✓ Tested
SQL ServerWindow analytics

Read the next row’s value

SQL Server: LEAD reads a later ordered row without a self join and supports a fallback at the end.

SQL Server✓ Tested
PostgresWindow analytics

Read the next row’s value

Postgres: LEAD reads a later ordered row without a self join and supports a fallback at the end.

Postgres✓ Tested
SQLiteWindow analytics

Read the next row’s value

SQLite: LEAD reads a later ordered row without a self join and supports a fallback at the end.

SQLite✓ Tested
SQLiteTables & writes

Read values from an inserted row

Use RETURNING to retrieve an automatically assigned row ID.

RETURNING✓ Tested