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

how many columns can be used for creating index? : Sql dba

946


How to add new employee details in an employee_details table with the following details

1091


What is index example?

1010


What are the types of join in sql?

1103


what are the type of locks ? : Sql dba

966


How does index help in query performance?

1028


What is primary key sql?

1039


What is aggregate function in sql?

1040


What is the left table in sql?

963


How many types of functions are there in sql?

955


what is the difference between union and union all? : Sql dba

1020


Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)

960


What is the clause we need to add in function body to return variable?

1012


What operators deal with null?

1107


What is sql rowcount?

1021