conn system/123;
alter user haha identified by 1234;
设置haha的密码过期
conn system;
alter user haha password expire;
锁定与解锁账号
alter user haha account lock;
alter user haha account unlock;
分页查询
select d.* from (select p.*,Rownum r from person p)
where r>(index-1)*size and r<=index*size;
插入指定列
insert into student(id,name)
values(2,'李四');
插入不指定列
insert into student
values(3,'李四',to_date('2019-01-10','yyyy,mm,dd'),'02');
insert into student
values(3,'李四',to_date('2019-01-10 10:10:10','yyyy,mm,dd hh:mi:ss'),'02');
修改数据
update student set name='王五',birthday=sysdate
where name='张三';