0% found this document useful (0 votes)
40 views1 page

Abdullahi Abdishakur Ali BSC6: (Not Null, Not Null)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views1 page

Abdullahi Abdishakur Ali BSC6: (Not Null, Not Null)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Abdullahi Abdishakur Ali BSC6

create table people(

id int not null primary key, name varchar(50) not null

insert into people values(101, 'Abdimalik')


insert into people values(102, 'Abdullahi')

select * from people


rollback;

begin transaction
insert into people values(103, 'muuse')
rollback

begin transaction
insert into people values(103, 'muuse')
commit
select *from people
rollback

begin transaction
update people set name='fooldhuguc' where id=103;

rollback
begin transaction
delete people where id=103
save transaction sav1

begin transaction
insert into people values(105, 'muuse')
insert into people values(106, 'muuse')
insert into people values(107, 'muuse')
save transaction sav2
select *from people

rollback transaction sav1


commit;

Grant select update, insert on people


to sys with grant option

select *from people update people

You might also like