What are the differences between stored procedure and
functions in SQL Server 2000?

Answer Posted / sathishraj

*The DML statements INSERT, UPDATE, and DELETE cannot be
used on base tables
*SQL functions that return non-deterministic values are not
allowed to be called from inside User Defined Functions.
GETDATE is an example of a non-deterministic function.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use linked server?

593


What is the optimization being performed in oracle and SQL Server?

632


What is the difference between for trigger and after trigger?

547


can a database be shrunk to 0 bytes, if not, why? : Sql server administration

614


What are the built in functions in sql server?

491






How to retrieve error messages using mssql_get_last_message()?

539


What is data modeling and Reterminal integrity?

1494


Explain the purpose of indexes?

548


How to display a past time in days, hours and minutes?

577


What is field with example?

519


Tell me what do we need queues in sql service broker?

524


What is the difference between migration and upgradation in sql server?

610


When you use @@error and try-catch?

576


What are the differences between local and global temporary tables?

562


How to create indexed view?

587