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


What is a Stored Procedure?

Answers were Sorted based on User's Feedback



What is a Stored Procedure?..

Answer / guest

Its nothing but a set of T-SQL statements combined to
perform a single task of several tasks. Its basically like a
Macro so when you invoke the Stored procedure, you actually
run a set of statements.

Is This Answer Correct ?    6 Yes 1 No

What is a Stored Procedure?..

Answer / dharmendra k. dixit

An Stored Procedure is basically a set of T-SQL Statement,
it hv lot of benifits thats y we are using SPs.
Some are the advantages of Stored Procedures.
1. it reduses the Network Traffic.
2. we can execute SP inside SP.
3. it takes slower time in execution bcz its a
preCompiled statement.
4. create once and can use multiple times.

Is This Answer Correct ?    5 Yes 0 No

What is a Stored Procedure?..

Answer / hardik

stored procedures are bunch of SQL queries. main advantage
of stored procedure is that it is a self compiled and
execution speed is faster than normal query.

for e.g.

if we write select * from tablename and if we make stored
proc for that statement it will execute faster than normal
query.

Is This Answer Correct ?    5 Yes 2 No

What is a Stored Procedure?..

Answer / santhanakumari

SP r nothing but collection of SQL stments and control flow
of language.it execute very fastly than a stand alone sql
statment because its a precompiled statement.SPs r reduce
the network traffic

Is This Answer Correct ?    2 Yes 0 No

What is a Stored Procedure?..

Answer / peter nguyen

Stored procedures are a set of control flow SQL queries.
Main advantage of stored procedure: it is a precompiled
statement, hence:
Some advantages of Stored Procedures are:
1. It reduces the Network Traffic.
2. We can execute standard procedure inside standard
procedure
3. Execution faster because it’s a precompiled statement.
4. Create once and may re-use multiple times.

Is This Answer Correct ?    3 Yes 1 No

What is a Stored Procedure?..

Answer / raghuram

Stored procedure is a set of T-Sql statements combined to
perform a single task of multiple tasks. It do not run
values, It performs only tasks. It reduces network traffic
and improve the performance. It accepts the input
parameters. It helps to ensure the integrity of the
database.

Is This Answer Correct ?    1 Yes 0 No

What is a Stored Procedure?..

Answer / nivedita

Stored procedures are "defined once, used many times."A
stored procedure is written using Transact-SQL (T-SQL). T-
SQL is a subset of ANSI SQL-92 that has extensions to the
Standard. T-SQL includes variables, conditional logic,
loops and flow control.A stored procedure allows you to put
code or business logic on the database server.

Is This Answer Correct ?    2 Yes 1 No

What is a Stored Procedure?..

Answer / babu

stored procedure is PL SQL statement that is called by a name
procedure perform a task, they does not return value.
1.reduce network traffic
2.reduce server overhead
3. Excution plan may be reused
4.provide good security for our data

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How exceptions can be handled in sql server programming?

0 Answers  


how would you write a sql query to compute a frequency table of a certain attribute involving two joins? What changes would you need to make if you want to order by or group by some attribute? What would you do to account for nulls?

0 Answers   Facebook,


What is compression - row-level and page-level compression?

0 Answers  


What is resource governor?

0 Answers  


What are sql dirty pages?

0 Answers  


what is difference between primary key and Unique

8 Answers  


What is the difference between ‘having’ clause and a ‘where’ clause?

0 Answers  


what stored procedure would you use to view lock information? : Sql server administration

0 Answers  


How would you add a section to a table?

0 Answers  


* CREATE TABLE [dbo].[t_Colors]([ColorId] [int] NOT NULL,[ColorName] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ColorDesc] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,[ColorIndex] [int] NULL) ON [PRIMARY] GO * insert into [t_Colors] values(101,'Red','',1) insert into [t_Colors] values(101,'Red1','',2) insert into [t_Colors] values(102,'Blue','',1) insert into [t_Colors] values(102,'Blue1','',2) insert into [t_Colors] values(102,'Blue2','',3) * In this table i need to delete DELETE FROM t_Colors WHERE ColorIndex=1 AND ColorId=102 After delete above condition i need to update the ColorIndex set to 1 for Blue1[ColorName] and 2 for Blue2[ColorName] select * from [t_Colors] Note:- how can i get updates the ColorIndex values after delete. for example we need to update Blue1 ColorIndex set to 1 and Blue2 ColorIndex set to 2

0 Answers  


State a few properties of relational databases?

0 Answers  


What is the maximum size of a dimension? : sql server analysis services, ssas

0 Answers  


Categories