wht is the difference between truncat,drop in sqlserver
wht is the difference between function and stored procedure

Answer Posted / srilekha

TRUNCATE:it will delete all the records at a time but not a
stucture.
DROP:it will delete the table permanently from database;
PROCEDUE:it may be return value,it will not used in sql
queries
FUNCTION:it returns a value,it will used in sql queries

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ddl commands?

718


Explain the difference between triggers and constraints?

706


What is compilation error in pl sql?

699


What is the use of partition by in sql?

712


What is the difference between alter trigger and drop trigger statements?

796






Do ddl statements need commit?

724


How do temporal tables work?

692


What do we need to check in database testing?

724


What are the advantages of sql?

777


What is the purpose of using pl/sql?

828


What is sorting in sql?

673


How does cross join work in sql?

706


Does sql view stored data?

722


What is right join sql?

711


What is information schema in sql?

763