|
原帖由 lrgeid 于 2008-9-15 20:04 发表 ![]()
好吧,那我这样问吧,我想查数据文件的路径,不管你是用视图,同义词还是表,不过要满足一个条件
select file#,block# from tab$ where obj#=(select obj# from obj$ where name=你查的对象);
只要能有结果就行了
I'm not sure if it's you or I have communication problems. Are you asking how to find the datafile, and preferably the offset inside that file, where a given object is? I already told you, dba_extents. It has file and block number. Once you know the file number, you can find its path in dba_data_files or v$datafile.
Yong Huang |
|