-
Is there a table or view that contain only the name of the datafile(without the path)?
select file_name from dba_data_files;
D:\ORA8I\ORANT\ORADATA\ORCL\SYSTEM01.DBF
I now that i could play with character function to get the name, but i prefer a nice select if there's a column that contains only the name.
-
nope, it is unuseful for Oracle ...
find the complete path in v$datafile, and you'll have to use instr & substr
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|