liveBook · Manning

SQL script

An SQL script is a file or sequence of SQL statements intended for execution by a database system.

How 2 Manning books explain it

Building Web APIs with ASP.NET Core

An SQL script is a file containing SQL statements that can be reviewed and executed to create or modify database structures or data.

How it is used
Deploys missing production database structures through reviewed SQL rather than applying migrations directly in application startup.
How deep it goes
Explains generation, DBA review, and tool-based execution, while deferring detailed SQL commands and alternative implementation mechanics.
Examples
Uses the dotnet-ef migration-script command and SSMS as the concrete generation and execution workflow.
What you can do after
Operate/configure production database deployment by generating, reviewing, and executing an EF Core SQL script.

Read how Building Web APIs with ASP.NET Core explains SQL script →

Rust Servers, Services, and Apps

A SQL script is a stored sequence of SQL statements intended for execution against a database.

How it is used
Uses plain SQL files to create application tables and seed test data before Rust database access code queries them.
How deep it goes
Explains file placement, table definition, seed inserts, execution, and verification, but does not detail migration management.
Examples
Demonstrates ezy_course_c4 creation, two inserted course records, psql execution, and a subsequent SELECT query.
What you can do after
Operate/configure PostgreSQL by creating a database table, loading test rows, and verifying them from the SQL shell.

Read how Rust Servers, Services, and Apps explains SQL script →

Also covered in

What to know first

Related concepts

Questions about SQL script

What is SQL script?

An SQL script is a file or sequence of SQL statements intended for execution by a database system.

Which Manning books explain SQL script?

Building Web APIs with ASP.NET Core and Rust Servers, Services, and Apps.

What should I know before learning SQL script?

Manning books that teach SQL script usually introduce SQL first.

What is the difference between SQL script and migration bundle application?

An SQL script is a file or sequence of SQL statements intended for execution by a database system. A migration bundle is a deployable executable containing Entity Framework Core migrations that applies those migrations to a database without requiring the .NET SDK or command-line tools.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.