Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can you fetch common records from two tables?

1063


how to drop an existing view in mysql? : Sql dba

1063


How do I view a view in sql?

956


What is bulk collect in pl sql?

1096


How do you declare a constant?

965


What does seeding a database mean?

973


How can I change database name in sql?

1088


What is difference between sql and mysql?

1137


Why plvtab is considered as the easiest way to access the pl/sql table?

1218


What is data modelling in sql?

1025


Which is better trigger or stored procedure?

956


how can you see all indexes defined for a table? : Sql dba

1003


How do you optimize a stored procedure query?

1004


What are variables in pl sql?

1172


How do I filter in sql profiler?

1002