WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search


Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder



Go Back Add a Comment Send this Article to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES SUBMIT AN ARTICLE PRINT
Title : SQL Server Stored Procedures 101
Categories : General SQL, Stored Procedures
devarticles
devarticles
Date : 2002-06-04
Grade : 1 of 5 (graded 1 times)
Viewed : 5199
Search : More Articles by devarticles
Action : Grade This Article
Tools : My Favotite Articles


Submit your own code examples 
 


Introduction

Have you ever thought what happens when your queries get to the database?. They are actually compiled each time you query and then executed. If you think about it, you will find that this is not the ideal approach. A much better solution would be to have the database server compile the query, store it in a compiled format and run it on request, without having to recompile it each and every time. This is where the concept of stored procedures comes into play.

In this article we are going to learn how stored procedures work, what the benefits of using stored procedures are, and also how to create simple as well as complex stored procedures that accept and return parameters. In this article I will be focusing on using Microsoft SQL Server, however many of the principles in this article can also apply to other RDBMS's such as Oracle.

Near the end of this article we will learn how to make changes to a stored procedure and drop existing stored procedures .By the end of this article you will be fully prepared to start using basic stored procedures in your applications.

Read More...









Understanding SQL Joins
Categories : General SQL
Speaking SQL part 2
Categories : General SQL, Databases, MySQL
SQL Injection Attacks: Are You Safe?
Categories : General SQL, Security
SQL In Simple English Part 2 of 2
Categories : Databases, General SQL