在oracle中建立一張表在哪可以看到

2021-03-07 00:23:51 字數 2123 閱讀 1571

1樓:匿名使用者

oracle中有乙個系統檢視

select * from user_tables可以檢視你所登入的使用者下的所有表和一些表的資訊還有一張全域性的檢視

select * from dba_tables這個檢視查的是所有使用者下的所有表

2樓:決燃

在你的建立使用者中看到 也可以檢視user_tables等

3樓:匿名使用者

你可以用pl/sql developer個工具,建表,直接就可以看見了

4樓:匿名使用者

如果要看錶是否存在的話 檢視表結構 desc table_name; 就ok(plsql連進去的話可以直接檢視tables 這句話不好用)

如果要看其他的資訊 可以通過資料字典來檢視 user_tables 可以看使用者下的資訊 還有all_tables,dba_tables 什麼的~~用法一樣

select * from user_tables where table_name ='table_name'; (表名大寫哦~)

5樓:匿名使用者

select * from 表名;

如果你問的是資料檔案的位置應該在預設表空間中。

表空間就是.dbf 資料檔案

表空間檢視方法

select tablespace_name,table_name from user_tables where table_name='表名';

6樓:匿名使用者

select * from user_tables

oracle資料庫中存放建立表的檔案在**

7樓:陳舉超

一 可以通過dba_tables檢視建立表對應的表空間

select owner,table_name,tablespace_name from dba_tables where table_name='t1';

二 在通過dba_data_files檢視,表空間下資料檔案所在位置

select file_name,tablespace_name from dba_data_files;

綜述所示,如果表名為t1,那麼檢視所在檔案位置可以:

select file_name,tablespace_name from dba_data_files

where tablespace_name in

(select tablespace_name from dba_tables where table_name='t1';);

8樓:匿名使用者

放在tables中在可以使用select * from user_tables檢視資料庫中的所有表

該檔案放在你所安裝oracle的安裝路徑下你可以檢視oracle安裝目錄下的ldm檔案可以使用搜尋.ldm進行查詢

9樓:西門公子慶

select * from user_tablespaces ;

檢視你所有表空間。

select * from user_tables;

裡面會顯示每個表對應的表空間。

select * from dba_data_files;

表空間與資料檔案的對應關係。

10樓:蟒牛村

表一般都是放在表空間裡的,如果你建立的時候指定了表空間,那麼資料檔案就是這個表空間(資料檔案),如果你沒有指定表空間,表放在預設的系統表空間裡...

oracle資料庫中存放建立表的檔案在**

11樓:匿名使用者

select name from v$datafile; 動態試圖name 列顯示了每個資料檔案在作業系統上的路徑

12樓:匿名使用者

首先要確保你安裝了伺服器,如果只有客戶端是沒有資料檔案存放在系統的 一般是在「安裝目錄:\oracle\product\10.2.0\oradata\伺服器名\***.ora」

13樓:匿名使用者

select * from v$datafile;

在oracle中自己建立了表後在sql命令中用

是不是不同的使用者和表空間,應該建立同義詞 你應該先看看是不是在同乙個資料庫下,然後用將表明括起來表示這 在oracle資料庫中如何用sql查詢某乙個使用者名稱下的某張表裡面的資料,select from 表名 使用者名稱 where id 1 select from 使用者名稱.表名 where ...

SQL根據現有表一張表,想一張表,的這張表結構要

看你用的什麼資料庫 sql server select into table new from table old 複製結構和資料 select into table new from table old where 1 2 只複製結構 oracle create table table new a...

建立一張mysql的表 已有了id 將id設定成 主鍵自動增

drop table if exists user user為你已經建好的名字 create table user id int 11 not null auto increment,auto increment控制主鍵自曾1 gid int 11 default null,username var...