1、創(chuàng)建表:
CREATE?TABLE Student(
id varchar2(32) primary key,
name varchar2(8) not null,
age number);
2、修改字段名:
alter table Student rename name to StuName;
3虐块、修改數(shù)據(jù)類型:
alter table Student modify (id varchar2(64));
1、創(chuàng)建表:
CREATE?TABLE Student(
id varchar2(32) primary key,
name varchar2(8) not null,
age number);
2、修改字段名:
alter table Student rename name to StuName;
3虐块、修改數(shù)據(jù)類型:
alter table Student modify (id varchar2(64));