zircon06
Technical User
- Jan 8, 2007
- 81
I'm running follwing script in shell scripts which is Test.sh after running I'M getting following error any idea
SQL> @table.sql
SP2-0310: unable to open file "table.sql"
SQL> prompt table.sql : OK
table.sql : OK
SQL> WHENEVER SQLERROR exit 2
SQL> @view.sql
SP2-0310: unable to open file "view.sql"
SQL> prompt view.sql : OK
view.sql : OK
SQL> WHENEVER SQLERROR exit 3
SQL> @procedure.sql
SP2-0310: unable to open file "procedure.sql"
SQL> prompt procedure.sql : OK
procedure.sql : OK
SQL> WHENEVER SQLERROR exit 4
SQL> @trigger.sql
SP2-0310: unable to open file "trigger.sql"
SQL> prompt trigger.sql : OK
trigger.sql : OK
MY sql are located in u01/app/oracle directory how to tell in script to look @table.sql in this location
SQL> @table.sql
SP2-0310: unable to open file "table.sql"
SQL> prompt table.sql : OK
table.sql : OK
SQL> WHENEVER SQLERROR exit 2
SQL> @view.sql
SP2-0310: unable to open file "view.sql"
SQL> prompt view.sql : OK
view.sql : OK
SQL> WHENEVER SQLERROR exit 3
SQL> @procedure.sql
SP2-0310: unable to open file "procedure.sql"
SQL> prompt procedure.sql : OK
procedure.sql : OK
SQL> WHENEVER SQLERROR exit 4
SQL> @trigger.sql
SP2-0310: unable to open file "trigger.sql"
SQL> prompt trigger.sql : OK
trigger.sql : OK
MY sql are located in u01/app/oracle directory how to tell in script to look @table.sql in this location