Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Quartz Simple Procedure to display Hello World

Related Tutorials


 
 

Share on Google+Share on Google+

Simple Procedure to display Hello World

Advertisement
This page discusses - Simple Procedure to display Hello World

Simple Procedure to display Hello World

     

Procedure is a set of SQL statement enclosed in 'BEGIN' and 'END' statement and executed under one name.

Understand with Example

The Tutorial illustrate an Example from Simple Procedure that helps you to display 'Hello World'. In this Example, we create a procedure 'abc' using  create procedure statement. The select statement return you the 'Hello,World' ,whenever a procedure 'abc' is invoked.

Create a Procedure

 

 

 

 

delimiter $$
create procedure abc()
BEGIN 
	SELECT 'Hello,World' world';
END$$
delimiter ;
Call procedude
The callprocedure abc ( ) is used invoke procedure 'abc'.
call abc();

Result

+--------------+
| Hello, world |
+--------------+
| Hello, world |
+--------------+
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 18, 2011

Related Tutorials

Discuss: Simple Procedure to display Hello World  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com