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 the different between now() and current_date()? : Sql dba
State some properties of relational databases?
What are the 3 types of behavioral triggers?
What is pl sql block structure?
How do you copy a table in sql?
What is the difference between subquery and correlated query?
Cite the differences between execution of triggers and stored procedures?
How many commands are in sql?
What are the subsets of sql?
What are the methods of filing?
Why partition by is used in sql?
What are the two characteristics of a primary key?
Are sql database names case sensitive?
Mention what are different methods to trace the pl/sql code?
What is the difference between mdf and ndf files?