FIND YOUR NEXT FEW LINES

Results for “File operations & binary data”

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

1473 snippets foundClear filters
SQL ServerJSON & results

Read values generated by INSERT

Capture an IDENTITY value with OUTPUT.

OUTPUT✓ Tested
RustIterators & transformations

Read values until a condition changes

Read values until a condition changes in a complete Rust program using the standard library.

Rust✓ Tested
GoConcurrency & cancellation

Receive a result from a goroutine

Receive a result from a goroutine using a complete Go program with explicit sample inputs.

Go✓ Tested
SQLConstraints & defaults

Reference a parent identified by two columns

SQL: A composite foreign key checks the complete referenced key rather than either column independently.

SQL✓ Tested
SQL ServerConstraints & defaults

Reference a parent identified by two columns

SQL Server: A composite foreign key checks the complete referenced key rather than either column independently.

SQL Server✓ Tested
PostgresConstraints & defaults

Reference a parent identified by two columns

Postgres: A composite foreign key checks the complete referenced key rather than either column independently.

Postgres✓ Tested
SQLiteConstraints & defaults

Reference a parent identified by two columns

SQLite: A composite foreign key checks the complete referenced key rather than either column independently.

SQLite✓ Tested
RustNumbers & durations

Reject a narrowing integer conversion

Reject a narrowing integer conversion in a complete Rust program using the standard library.

Rust✓ Tested
SQLConstraints & defaults

Reject a negative quantity with CHECK

SQL: Combine NOT NULL and CHECK because an unknown NULL check result is normally accepted.

SQL✓ Tested
SQL ServerConstraints & defaults

Reject a negative quantity with CHECK

SQL Server: Combine NOT NULL and CHECK because an unknown NULL check result is normally accepted.

SQL Server✓ Tested
PostgresConstraints & defaults

Reject a negative quantity with CHECK

Postgres: Combine NOT NULL and CHECK because an unknown NULL check result is normally accepted.

Postgres✓ Tested
SQLiteConstraints & defaults

Reject a negative quantity with CHECK

SQLite: Combine NOT NULL and CHECK because an unknown NULL check result is normally accepted.

SQLite✓ Tested