关于oracle tablespace ,table的创建
1 建“表空间”
create tablespace hk datafile'E:\datafile-oracle\hk_data.dbf' size 20M;
2在“表空间”的基础上再建“数据表”的创建中包含着“各种列”
create table student (
student_id number not null,
student_name varvhar2(20),
student_age number,
status varchar2(3),
version number default 0
)
oracle sql 语句不区分大小写
sql 语句框 (可以在sql框中创建表空间)command语句框的运用
commond---edit,查看结果是从dialog中查看 否则会查不到结果,或者查到的结果不完整

3查看表空间信息(查看所建空间信息)
select table_name ,tablespace_name from hk_tables where lower(table_name)='student'

4查看已有数据表结构(查看数据表信息)
desc student ;

浙公网安备 33010602011771号