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...

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

Answer Posted / chandra shekher

truncate command will remove the table and again recreate
the table.
drop command will remove the table permanently from the
database.


Function must return a value where as stored procedure may
or may not return a value.
Function can return only one value where as stored
procedure can return multiple values.
Function can be used in sql query where as stored procedure
cannot be used in sql query.
Function is used to compute a value where as stored
procedure can be used to perform a task

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nosql example?

1086


How does rowid help in running a query faster?

1472


How to select unique records from a table?

1105


Is sql the best database?

1017


Can we use view in stored procedure?

952


Can we use two order by clause in query?

1015


How do you explain an index?

1327


What are the basic sql commands?

1137


What are field types?

1049


What is difference between rank () row_number () and dense_rank () in sql?

1157


List the various privileges that a user can grant to another user?

1086


how many values can the set function of mysql take? : Sql dba

1030


How much does a sql dba make? : SQL DBA

983


What is the function that is used to transfer a pl/sql table log to a database table?

1061


Compare sql & pl/sql

1206