The terminal waited, cursor blinking. One command could deploy an entire database stack.
Infrastructure as Code with SQL*Plus turns that possibility into reality. Instead of clicking through manual steps or wrestling with half-documented shell scripts, you define your database infrastructure in code. The configuration, provisioning, and orchestration happen automatically. Every environment is reproducible. Every change is tracked in version control.
SQL*Plus remains one of the most reliable tools for interacting with Oracle databases. Combined with Infrastructure as Code (IaC) principles, it becomes a powerful instrument for building, migrating, and maintaining complex systems. You can automate schema creation, table updates, indexes, roles, or users the same way you automate servers and networks.
Terraform or Ansible can call SQL*Plus scripts that apply changes directly from your IaC pipeline. This makes database changes part of the same automated flow as your infrastructure deployments. No separate checklist. No drift. A commit triggers a full sequence: provisioning a database instance, running SQL*Plus to execute DDL, loading data, and setting permissions.