Call SQL Script

How to call SQL script file from PL/SQL?

Questions by tnagarjun

Showing Answers 1 - 9 of 9 Answers

prasadreddi

  • Mar 17th, 2010
 

@<path>filename.sql

give the path where the file is located extactly.

Ex :- Let us say our file is located at c:tempabc.sql

SQL> @"c:tempabc.sql"

It is better practice to use double quotes why bcoz if any foder name having any space that it will trouhg error.

If you are working in Unix box

SQL>@'/u01/temp/abc.sql" Here file is case sensitive.


  Was this answer useful?  Yes

dj_dj_dj

  • Mar 18th, 2010
 

You can Call SQL Script by using @ and then giving path of the source file
For ex: @c:/sqlscript.txt;

Regards
Dharmendra Jaiswal

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions