|
| |||||||||
| Tags: database, procedure, sql, stored procedures |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| What is SQL Stored Procedures?
Hello, I have recently started to learn the SQL Database Language and while learning it I am not able to understand the concept of the Stored Procedures. I have tried to learn it, but I am not getting the concept behind it. So, if you are having any knowledge about it, then please provide help to me to know the exact concept behind the SQL Stored Procedures. |
|
#2
| ||||
| ||||
| Re: What is SQL Stored Procedures?
When any type of group of Transact-SQL statements compiled into a single execution plan then it is called as stored procedure. If you are making use of the Microsoft SQL Server 2000 then your stored procedures must return data in four ways below:
|
|
#3
| ||||
| ||||
| Re: What is SQL Stored Procedures?
Hi, if you are making use of the stored procedure in your sql then the Benefits of Stored Procedures are as below:
|
|
#4
| ||||
| ||||
| Re: What is SQL Stored Procedures?
A stored procedure is a group of SQL statements that form a logical unit and perform a particular task, and they are used to encapsulate a set of operations or queries to execute on a database server. For example, operations on an employee database (hire, fire, promote, lookup) could be coded as stored procedures executed by application code. Stored procedures can be compiled and executed with different parameters and results, and they may have any combination of input, output, and input/output parameters. This simple stored procedure has no parameters. Even though most stored procedures do something more complex than this example, it serves to illustrate some basic points about them. |
|
#5
| ||||
| ||||
| Re: What is SQL Stored Procedures?
Hello, if you want to create a stored procedure then you must need to make use of the query as given below: Code: CREATE PROCEDURE <procedure name> @location <data-type>(<size>) AS SELECT <field name>....... FROM <Table name> WHERE <condition if any> |
|
#6
| ||||
| ||||
| Re: What is SQL Stored Procedures?
Hello, if you are having knowledge of programming language then the Stored procedures in SQL Server are same as procedures in other programming languages which can perform the following for you:
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "What is SQL Stored Procedures?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extracting stored procedures | Maal-Gaadi | Software Development | 3 | 29-12-2010 07:29 PM |
| Using stored procedures and stored functions in MySQL | Adiran | Software Development | 6 | 14-12-2010 01:54 AM |
| Calling Oracle Stored Procedures with PHP | Landan | Software Development | 5 | 12-02-2010 05:37 PM |
| How to execute Stored procedures in Hibernate? | NegiRaj | Software Development | 3 | 11-08-2009 12:54 AM |
| Is it a good practice of creating and using stored procedures for a database? | Sentential | Software Development | 3 | 03-08-2009 10:13 PM |