How to Run SQL Script in Toad?

How to Run SQL Script in Toad?

  • Toad
  • 2 mins read

Welcome to the world of Toad for Oracle, where unleashing the power of SQL scripts has never been easier. In this tutorial, we will guide you through the process of running SQL scripts using Toad for Oracle, a versatile and powerful database management tool.

Run SQL Script in Toad for Oracle

To run SQL scripts in Toad for Oracle, you have two methods at your disposal. Let us explore both of them:

Method - 1

  1. Open Toad and connect to the database. Then click on the menu Database > SQL Editor.
  2. In SQL Editor, give the same command starting with @ as you use to give in SQL Plus to run an SQL script in Oracle. For example, @ D:\yourdir\example_script.sql and then press F5 to run the script.

Method - 2

  1. Open Toad and connect to the database. Then click on the menu Database > SQL Editor.
  2. In SQL Editor, press Ctrl+O and the open file dialog box will appear. Locate your SQL script and open.
  3. Then Press F5 or F9 to execute the SQL script contents.

Whichever method you choose, Toad for Oracle empowers you to effortlessly run SQL scripts, enabling seamless database management and unleashing your coding potential.

See also:

This Post Has One Comment

  1. Gabe SHiferaw

    Are there any applications or tools to convert SAS program or R program into TOAD for Oracle SQL

Comments are closed.