how to test stored procedures in manually?

Answer Posted / janaki

hi this is janaki
i will tell u with example

we have class table with columns as
create table class
( cn number,
cname varchar2(15),
csize number):
class table created.
now we create a procedure for this table

create procedure proce1(@cno,@cn,@cs)
as
begin
if @cs>20
begin
insert into class values(@cno,@cn,@cs)
end
else
print 'csize should be greater than 20'
end

--procedure created.
we can make use of the 'exec(execute) command to call a
procedure by passing the parameters.

Exec proc1 111,'abc',35
these values to be inserted in class table.

this is the way we have to test stored procedures.ok.
Janaki.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do we perform smoke testing?

779


what is dib format?

1555


what will be verification and validation test cases for yahoo login page (only functional test cases)? Please explain in details.

13840


Can any one give a summary of testing a territory management system? what would be the test scenarios, few test cases. how it works.

1616


What is stub?

822






can any one explain me briefly erp pharma project including all modules,like how to tell this project in interview in terms of s/w testing

1755


What do you do (with the project tasks) when the schedule fails?

2670


What is coverage and what are the different types of coverage techniques?

758


What is mean by multi-threading testing?

2215


Hi, can any tell how a tester can be judged? i have to interview a tester, how should i judge whether he has a justified experience or not? how a person with 3 years of experience in manual testing can be judge?

1614


I have 2 years of exp. in testing and looking for a change if any body knows, about any vacancy in testing then plz contact me on deepti_ac@yahoo.co.in

8261


Describe any bug you remember. Plz Give some real examples

1743


Scenario-based testing Option 1 concentrates on actor and software interaction Option 2 misses errors in specifications Option 3 misses errors in subsystem interactions Option 4 Both 1 abd 2

3155


What is back to back testing?

1586


What is boundary value testing? Give an example.

795