How to execute OS(operating system) command from pl/sql?

Answers were Sorted based on User's Feedback



How to execute OS(operating system) command from pl/sql?..

Answer / sourav

From Unix OS type the following command :

SQL>!ls

From Windows the command is :

SQL> HO[ST] [command]

Is This Answer Correct ?    5 Yes 1 No

How to execute OS(operating system) command from pl/sql?..

Answer / nasir mehmood

HOST('Os Command') procedure will be used for this purpose.

Is This Answer Correct ?    5 Yes 3 No

How to execute OS(operating system) command from pl/sql?..

Answer / praveen

You would need to wrap OS command under External Procedure.
Read more about PL/SQL External Procedures on how the same
works.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

Can we use insert statement in function?

0 Answers  


Does a user_objects view have an entry for a trigger?

0 Answers  


what are ddl statements in mysql? : Sql dba

0 Answers  


What is data manipulation language?

0 Answers  


What is the difference between a database and a relational database?

0 Answers  






how to write date and time literals? : Sql dba

0 Answers  


Regarding joins what are the differences you observed in oracle 9i and sql server?

3 Answers   Choice Solutions,


What is insert command in sql?

0 Answers  


What are the various restrictions imposed on view in terms of dml?

0 Answers  


What is t-sql? : Transact sql

0 Answers  


Explain the two type of Cursors ?

8 Answers   Hi Caliber IT,


what is organisational index?

1 Answers  


Categories