How to execute OS(operating system) command from pl/sql?
Answers were Sorted based on User's Feedback
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 |
Answer / nasir mehmood
HOST('Os Command') procedure will be used for this purpose.
Is This Answer Correct ? | 5 Yes | 3 No |
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 |
what is primary key? : Sql dba
how to get the third quarter of employee details from emp?
what is overloading procedure or overloading function ?
What is the difference between left join and right join?
What is offset and limit in sql?
suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?
What is sql dialect?
Create a procedure to delete certain records from a table and display the total number of records deleted in this process. (Condition for deletion can be of ur choice, for instance delete all records where eid='')
Define the select into statement.
How do I add a database to sql?
How do I start pl sql?
What is input buffer in sql*plus?