Can I know,how to Execute Funcion and Trigger through
command(Manualy Execution) in MS SQL/SERVER 2005,give me
answer with Example.

Answer Posted / bhaskar


Function can excute by the SELECT statement
ex SELECT Functionname(parameters), select *from
functionname

select s_func(Parameters)

We cant execute the trigger ,
When we perform a DML(DELETE,INSERT,UPDATE) operation
Trigger will fire automatically

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can a table be moved to different filegroup? : Sql server administration

624


What are the different editions available in sql server 2000?

669


What is the difference between stored procedure and user defined functions?

720


Why is the need for data conversion transformations?

587


Explain the stored procedure?

725






What is the difference between mysql and mysqli?

664


What are difference between Cluster index and Non-Cluster index?

683


What command do we use to rename a db, a table and a column?

581


What is a primary index?

620


How to execute the cursor queries with "open" statements?

702


What are the advantages of having an index on the sql server?

611


What do you mean by an execution plan?

670


What happens if null values are involved in boolean operations?

638


What is simple indexing method?

666


What is row_number()?

694