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
Why are indexes and views important to an organization?
Can I call a procedure inside a function?
Explain exception handling in pl/sql?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
What are the disadvantages of file system?
What is the difference between partition and index?
Does sql support programming?
Write a query to find the names of users that begin with "um" in sql?
how to load data files into tables with 'mysqlimport'? : Sql dba
How do you modify a column in sql?
Does execute immediate commit?
What is the difference between sql and t sql?
What are all different types of collation sensitivity?
How do I view a table in sql?
Are subqueries better than joins?