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
Is it possible to include an insert statement on the same table to which the trigger is assigned?
What are different types of functions in sql?
What is trigger types of trigger?
Can we insert data into materialized view?
How do I quit sql?
what is the use of set statement in tsql? : Transact sql
What is a mutating table and a constraining table?
When should I use nosql database?
What is synchronized subquery?
What are the three pl sql block types?
Which normal form is best?
How to set up sql*plus output format in oracle?
Can we perform dml in function?
How do you clear the screen in sql?
Can we join two tables without common column?