GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  Database Administration
Go To First  |  Previous Question  |  Next Question 
 Database Administration  |  Question 136 of 231    Print  
how to find which tablespace belongs to which datafile ?

  
Total Answers and Comments: 3 Last Update: September 02, 2009     Asked by: sushil k 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 30, 2007 18:38:51   #1  
chintu414        

RE: how to find which tablespace belongs to which da...
select d.name t.name from v$datafile d v$tablespace t where d.ts# t.ts#;
 
Is this answer useful? Yes | No
November 16, 2007 02:15:57   #2  
ravichandiran        

RE: how to find which tablespace belongs to which da...

run this query in the sql prompt

sql> select tablespace_name file_name from dba_data_files;


 
Is this answer useful? Yes | No
September 02, 2009 17:21:18   #3  
cmanne Member Since: January 2006   Contribution: 49    

RE: how to find which tablespace belongs to which datafile ?
select file_name tablespace_name
from
dba_data_files;

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape