goaway1234
Programmer
I am charged with reviewing our change management procedures at my company. We already have a database script template that records bug/issue information when a script is run (just a few lines of code saved above the actual changes), and I would like to expand this information to include the file path of the updaate script.
Does anybody know whether it is possible to write a function that will return the path of the currently executing file (if any). The goal is that if in sql*plus, the user types @ C:\scripts\XXX.sql then the function returns 'c:\scripts\XXX.sql'.
Does anybody know whether it is possible to write a function that will return the path of the currently executing file (if any). The goal is that if in sql*plus, the user types @ C:\scripts\XXX.sql then the function returns 'c:\scripts\XXX.sql'.