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
How can you fetch common records from two tables?
how to drop an existing view in mysql? : Sql dba
How do I view a view in sql?
What is bulk collect in pl sql?
How do you declare a constant?
What does seeding a database mean?
How can I change database name in sql?
What is difference between sql and mysql?
Why plvtab is considered as the easiest way to access the pl/sql table?
What is data modelling in sql?
Which is better trigger or stored procedure?
how can you see all indexes defined for a table? : Sql dba
How do you optimize a stored procedure query?
What are variables in pl sql?
How do I filter in sql profiler?