diffrence between function and procedure

Answer Posted / sakthi

Inside function we cannot able to insert, udate or delete
any record but in procedure we can use it. inside function
we cannot able to call any other functions or procedure but
inside procedure we can call other procedure and functions.
these are the major differences

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between cross join and full outer join?

565


What is a non-clustered index?

569


Explain system functions or built-in functions? What are different types of system functions?

571


What is an index in a database?

538


What is the importance of concurrency control?

669






after migrating the dts packg to ssis by using migrtn wizrd in 2005. iam not able to open ssis pack and getting error. what r those errors? how to resolve?

1694


Do you know the policy based administration feature of sql server 2008?

580


What is the difference between ddl and dml?

572


What is the difference between coalesce() & isnull()?

534


What is data modification?

513


Thanks to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

527


what is bit datatype? : Sql server database administration

508


Create and insert into temp table in sql server?

587


Explain the difference between primary keys and foreign keys?

517


I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration

684