How to call the function and Procedure in trigger?
Answer Posted / pradeep aryan
hi this is Sql server Statement:
Create table findSalary(salay int)
-- create procedure
Create proc stp_testdata
as
begin
select * from findsalary
end
-- Create function
create function Function4()
returns varchar
as
begin
return 'test data'
end
-- insert command
insert into findsalary values (89)
this is working fine
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
what is a stored procedure? : Sql dba
Which are the different types of indexes in sql?
What sql does db2 use?
Difference between table function and pipelined function?
How to take user input in pl sql?
What is meant by user defined function?
What is nosql db?
What is indexing oracle sql?
What are the different ways to optimize a sql query?
What are two statement types in sql?
What is the need of a partition key?
What is the difference between the repeatable read and serializable isolation levels? : Transact sql
define data blocks ? : Sql dba
What is the difference between a subquery and a join?
What will you get by the cursor attribute sql%rowcount?