UTL_FILE saving in local machine

后端 未结 2 1566
臣服心动
臣服心动 2021-01-28 14:09

Hello, I wanted to save all the functions,procedures,packages in my local machine. I tried with SPOOL but with spool im not sure to get the filename and save it. So i tried

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-28 14:34

    UTL_FILE writes to the database server. To write to your local machine, you would need to mount your directories on the db server. This is generally a bad idea!

    Use spool to write to your machine just do:

    spool c:\path\to\your\folder\file.name
    select ....
    

提交回复
热议问题