P. 1
oracle10g

oracle10g

|Views: 254|Likes:
Published by hareeshkumar426

More info:

Published by: hareeshkumar426 on Feb 22, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

12/23/2012

pdf

text

original

Ex:

© Copy rights are reserved.

208

DECLARE
V1 number;
V2 varchar(2);

BEGIN

Select no,name into v1,v2 from student where marks = 100;

END;

DML AND RECORDS

Ex:

CREATE OR REPLACE PROCEDURE P(srow in student%rowtype) IS
BEGIN
insert into student values srow;
END P;

DECLARE

s student%rowtype;

BEGIN

s.no := 11;
s.name := 'aa';
s.marks := 100;
p(s);

END;

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->