oracle 运行.sql文件

来源:百度知道 编辑:UC知道 时间:2024/06/22 15:25:13
我有一个.sql文件,在oracle里怎么执行这个sql文件

If you have installed Oracle Client, you will find SQL Plus under Application Development.

1. start SQL Plus.
2. connect to the database with the user you would like to use to run the sql script.
3. use the following command to run the sql script. For example, you sql script is called aaa.sql:
@aaa.sql

Good luck!