we are calling the stored procedure by using with exec
command or by calling from another program.
ex: Exec proc1 {pass parameters}
for a table class having the columns like cno number
cs char
ex: exec proce1 111,'abc'
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.
@janaki
oh janaki thanks a lot , ur explanation is very much useful
to me
but i need more help from u
can i expect any test cases for this process and how to do
negative testing
hi sasidhar
depending on the project we will write testcases
for ex: in project class table is there
for that class table we have one stored procedure.
so we have to write the testcase like
input description:
"executing the stored procedure proce1 with input values
input data: (111,'abc',35)or take the input data from
database class table
expected results:the data shouble be inserted into class table
Hi frnds im mini. can any one give correct answers for this
interview questions. i have an interview in 4days..pls
1.What are tests that u have participated in Testing.
2.What is diff between Load testing Stress testing?
3.What is sanity testing when do u start it?
4.how can you test ur application with negative testing?
5.when can u start test case writng?
6.what is the tool your are using and the version?
7.what is the tool you used to report the bug ?
8.what is a formate of test case document in your company
and also bug report document formate?
pls send me reply.. tank u frnds.............