Today I needed to launch several .sql scripts from the same directory. I needed to get the script names in a quick way, and possibly being able to copy and paste them.
The solution was using:
SQL> host dir
El volumen de la unidad C es OS
El número de serie del volumen es: 6A31-3504
Directorio de C:\Users\cristina\Documents\
24/01/2013 14:02 <DIR> .
24/01/2013 14:02 <DIR> ..
23/01/2013 11:44 291.729 acciones.sql
23/01/2013 18:17 17.826 canales_comunicacion.sql
23/01/2013 18:17 292.138 etapas.sql
24/01/2013 12:14 126.673.515 exp1980.sql
24/01/2013 12:23 91.241.885 exp1985.sql
24/01/2013 12:29 38.205.132 exp1989.sql
SQL*Plus HOST command allows you to execute OS commands such as dir, cd, etc.
Nessun commento:
Posta un commento